summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-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() {