Minor changes

This commit is contained in:
Damien Broqua 2022-02-04 11:36:41 +01:00
parent aa7483bd9f
commit 8e3f9a6ebb

View file

@ -81,6 +81,8 @@ plugins=(
yarn
yarn-autocompletions
node
nvm
emoji
)
#zstyle :omz:plugins:ssh-agent agent-forwarding on
@ -139,12 +141,14 @@ source ~/.aliases.private
neofetch
dh
#uname -a|ponysay -f pinkie
#uname -a|ponysay
ssh() {
tmux rename-window "$*"
command ssh "$@"
# echo "Counting to 60"
# sleep 60 && exit
# echo "Counting to 60"
# sleep 60 && exit
tmux rename-window "zsh"
}
@ -165,3 +169,11 @@ if [ ! -S ${SSH_AUTH_SOCK} ]; then
eval $(ssh-agent -a ${SSH_AUTH_SOCK} 2> /dev/null)
ssh-add
fi
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
if [ -z $DISPLAY ] && [ "$(tty)" == "/dev/tty1" ]; then
export MOZ_ENABLE_WAYLAND=1
exec sway
fi