summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2015-12-06 10:44:53 +0100
committerSebastian Reichel <sre@ring0.de>2015-12-06 10:44:53 +0100
commitaab82b09313d945ad56504f5d4581bb7fc331290 (patch)
tree4fcc1d0196840f15f1e7e2a4d7cfcfe6f37d030b
parent40e4aea8592735bea9a2328b6c4338917422786a (diff)
downloadzsh-config-aab82b09313d945ad56504f5d4581bb7fc331290.tar.bz2
add /usr/local/sbin to path
-rw-r--r--zshrc16
1 files 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() {