minor updates
This commit is contained in:
@@ -26,7 +26,11 @@ fi
|
|||||||
# Everyday aliases
|
# Everyday aliases
|
||||||
alias j=jump
|
alias j=jump
|
||||||
alias dnsfix="sudo service bind9 restart"
|
alias dnsfix="sudo service bind9 restart"
|
||||||
|
alias open_ports="sudo netstat -tulpen 2> /dev/null | grep LISTEN"
|
||||||
|
alias offlineimap="/usr/bin/screen -list offlineimap > /dev/null || /usr/bin/screen -d -m -S offlineimap offlineimap"
|
||||||
cless() {for a in $@; do colorize_via_pygmentize $a | less; done}
|
cless() {for a in $@; do colorize_via_pygmentize $a | less; done}
|
||||||
|
r() {if [ $# -eq 1 ]; then ssh root@$1; else sudo su -; fi}
|
||||||
|
health() {/usr/bin/screen -O -S health -c ~/.config/screen_health}
|
||||||
|
|
||||||
# Some exports
|
# Some exports
|
||||||
export EDITOR=emacsclient
|
export EDITOR=emacsclient
|
||||||
@@ -42,3 +46,4 @@ export SAVEHIST=5000
|
|||||||
export WATCH=all
|
export WATCH=all
|
||||||
export WATCHFMT="%n has %a %l from %M"
|
export WATCHFMT="%n has %a %l from %M"
|
||||||
|
|
||||||
|
grep "^Subject: " /var/spool/mail/hybris | sed 's/^Subject: / * /'
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
PROMPT='%{${fg_bold[white]}%}%n%{$reset_color%}%{${fg[white]}%}@%m%{$reset_color%} %{$fg[white]%}$%{$reset_color%} '
|
PROMPT='%{${fg_bold[white]}%}%n%{$reset_color%}%{${fg[white]}%}@%m $%{$reset_color%} '
|
||||||
RPROMPT='%(?,,%{${fg_bold[red]}%}[%?] %{$reset_color%})$(git_prompt_info)%{$fg[green]%}%~%{$reset_color%}'
|
RPROMPT='%{$fg[white]%}%~$(git_prompt_info)%{$reset_color%}%(?,,%{${fg_bold[red]}%} [%?]%{$reset_color%})'
|
||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}("
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg_bold[yellow]%}("
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})%{$fg[red]%}!%{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[yellow]%})%{$fg_bold[red]%}!%{$reset_color%}"
|
||||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[yellow]%})"
|
||||||
|
|||||||
Reference in New Issue
Block a user