zsh: Clean up some variables
This commit is contained in:
parent
eebdc4da0f
commit
99de50c76c
|
@ -106,27 +106,24 @@ fi
|
|||
|
||||
# Use ISO 8601 date & time.
|
||||
if command -v locale > /dev/null; then
|
||||
locale -a | grep -q en_DK && export LC_TIME="en_DK.UTF-8"
|
||||
locale -a | grep -q en_DK && export LC_TIME="en_DK.utf8"
|
||||
fi
|
||||
|
||||
export CCACHE_DIR="/var/cache/ccache"
|
||||
|
||||
# Set terminal
|
||||
if command -v alacritty > /dev/null; then
|
||||
export TERMINAL="alacritty"
|
||||
elif command -v xfce4-terminal > /dev/null; then
|
||||
export TERMINAL="xfce4-terminal"
|
||||
elif command -v urxvt > /dev/null; then
|
||||
export TERMINAL="urxvt"
|
||||
elif command -v xterm > /dev/null; then
|
||||
export TERMINAL="xterm"
|
||||
fi
|
||||
|
||||
# Host specific settings.
|
||||
case $(hostname) in
|
||||
ventiloplattform|sprotznog)
|
||||
if command -v alacritty > /dev/null; then
|
||||
export TERMINAL="alacritty"
|
||||
elif command -v xfce4-terminal > /dev/null; then
|
||||
export TERMINAL="xfce4-terminal"
|
||||
elif command -v urxvt > /dev/null; then
|
||||
export TERMINAL="urxvt"
|
||||
elif command -v xterm > /dev/null; then
|
||||
export TERMINAL="xterm"
|
||||
fi
|
||||
export SSH_ASKPASS="/usr/bin/ssh-askpass-fullscreen"
|
||||
export CFLAGS="-march=native -pipe"
|
||||
export CXXFLAGS="${CFLAGS}"
|
||||
;;
|
||||
schnibble | gaffer | localhost)
|
||||
export GIT_SSH_COMMAND="ssha" # Termux command for ssh with key-add.
|
||||
export CPATH="/data/data/com.termux/files/usr/local/include"
|
||||
|
|
Loading…
Reference in New Issue
Block a user