diff options
author | Sebastian Reichel <sre@ring0.de> | 2015-12-06 10:44:53 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2015-12-06 10:44:53 +0100 |
commit | aab82b09313d945ad56504f5d4581bb7fc331290 (patch) | |
tree | 4fcc1d0196840f15f1e7e2a4d7cfcfe6f37d030b | |
parent | 40e4aea8592735bea9a2328b6c4338917422786a (diff) | |
download | zsh-config-aab82b09313d945ad56504f5d4581bb7fc331290.tar.bz2 |
add /usr/local/sbin to path
-rw-r--r-- | zshrc | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -106,6 +106,13 @@ alias -g tv:zdfinfo="rtp://239.35.10.56:10000" # usage: 'aptitude search non-debian' alias -g non-debian='~S~i!~Odebian' +# function to set terminal title +title() { + if [[ $TERM == "xterm" || $TERM == "xterm-256color" || $TERM == "rxvt" || $TERM == "screen" ]]; then + print -Pn "\e]2;$*\a" + fi +} + # set default programs if [ $TERM = "xterm" ] ; then export TERM=xterm-256color @@ -117,14 +124,7 @@ export PAGER=vimpager export BROWSER=chromium # path /sbin for ifconfig etc. -export PATH=$PATH:/usr/sbin:/sbin - -# function to set terminal title -title() { - if [[ $TERM == "xterm" || $TERM == "xterm-256color" || $TERM == "rxvt" || $TERM == "screen" ]]; then - print -Pn "\e]2;$*\a" - fi -} +export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin # function to spawn a program in the background background() { |