init linux setup

This commit is contained in:
2022-05-21 10:00:09 -04:00
parent eb278ed3e4
commit c077dcbeb8
6 changed files with 20 additions and 10 deletions
+11 -7
View File
@@ -90,11 +90,6 @@ fi
# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
@@ -119,5 +114,14 @@ if ! shopt -oq posix; then
fi
fi
neofetch
alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
# run neofetch
# neofetch
# setup node version manager
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# add go installed apps to path
PATH=$PATH:~/go/bin