From aab82b09313d945ad56504f5d4581bb7fc331290 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sun, 6 Dec 2015 10:44:53 +0100 Subject: add /usr/local/sbin to path --- zshrc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/zshrc b/zshrc index bec6f89..e2d7fd5 100644 --- a/zshrc +++ b/zshrc @@ -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() { -- cgit v1.2.3