From 8e3f9a6ebb5db440ab8e26a316ec486731c0aace Mon Sep 17 00:00:00 2001 From: dbroqua Date: Fri, 4 Feb 2022 11:36:41 +0100 Subject: [PATCH] Minor changes --- dotfiles/.zshrc | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 023ca21..08ce448 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -81,6 +81,8 @@ plugins=( yarn yarn-autocompletions node + nvm + emoji ) #zstyle :omz:plugins:ssh-agent agent-forwarding on @@ -119,9 +121,9 @@ zstyle -s ':completion:*:hosts' hosts _ssh_config zstyle ':completion:*:hosts' hosts $_ssh_config if [ $TILIX_ID ] || [ $VTE_VERSION ]; then - if [ -f "/etc/profile.d/vte.sh" ]; then - source /etc/profile.d/vte.sh - fi + if [ -f "/etc/profile.d/vte.sh" ]; then + source /etc/profile.d/vte.sh + fi fi # Load dircolors @@ -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