fix zprofile

master
Paul Walko 2017-11-18 03:12:27 -05:00
parent 7034ff46d1
commit 3b5e4bfe41
1 changed files with 17 additions and 1 deletions

View File

@ -1,2 +1,18 @@
## Set term for proper colors
if [[ -z $TMUX ]]; then
if [ -e /usr/share/terminfo/x/xterm-256color ]; then # may be xterm-256 depending on your distro
export TERM='xterm-256color'
else
export TERM='xterm'
fi
else
if [ -e /usr/share/terminfo/s/screen.xterm-256color ]; then
export TERM='screen-256color'
else
export TERM='screen'
fi
fi
# Other settings
xbindkeys xbindkeys
gpg2 --quiet --no-tty --batch -d $HOME/.mutt/passwords/dumb.gpg > /dev/null gpg2 --quiet --no-tty --batch -d $HOME/.mutt/passwords/dumb.gpg &> /dev/null