fix term again
parent
769a1edada
commit
15c89a5b18
1
zprofile
1
zprofile
|
@ -1,4 +1,3 @@
|
||||||
export TERM=xterm-256color
|
|
||||||
# Other settings
|
# Other settings
|
||||||
xbindkeys &> /dev/null
|
xbindkeys &> /dev/null
|
||||||
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
|
||||||
|
|
17
zshrc
17
zshrc
|
@ -1,6 +1,21 @@
|
||||||
### ZSH Config
|
### ZSH Config
|
||||||
|
|
||||||
## For local binaries (vim 8)
|
## 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-256color ]; then
|
||||||
|
export TERM='screen-256color'
|
||||||
|
else
|
||||||
|
export TERM='screen'
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
### For local binaries (vim 8)
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
|
||||||
## Path to your oh-my-zsh installation.
|
## Path to your oh-my-zsh installation.
|
||||||
|
|
Loading…
Reference in New Issue