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
yarn-autocompletions yarn-autocompletions
node node
nvm
emoji
) )
#zstyle :omz:plugins:ssh-agent agent-forwarding on #zstyle :omz:plugins:ssh-agent agent-forwarding on
@ -139,6 +141,8 @@ source ~/.aliases.private
neofetch neofetch
dh dh
#uname -a|ponysay -f pinkie
#uname -a|ponysay
ssh() { ssh() {
tmux rename-window "$*" tmux rename-window "$*"
@ -165,3 +169,11 @@ if [ ! -S ${SSH_AUTH_SOCK} ]; then
eval $(ssh-agent -a ${SSH_AUTH_SOCK} 2> /dev/null) eval $(ssh-agent -a ${SSH_AUTH_SOCK} 2> /dev/null)
ssh-add ssh-add
fi 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