finished out zsh configuration

This commit is contained in:
tomit4 2022-04-24 12:29:55 -07:00
parent ac33931e98
commit cff057083b
6 changed files with 78 additions and 17 deletions

View file

@ -1,12 +1,9 @@
# Changing over to ZSH for now, bashrc is kept here as emergency shell/posterity
# to change default shell, use chsh -s $(which bash)
# ~/.bashrc
#
history -c && history -w && hash -r
if [ $TERM == "xterm-256color" ] ; then
http_proxy=http://127.0.0.1:8118/
HTTP_PROXY=$http_proxy
export http_proxy HTTP_PROXY
fi
# create custom env variables:
export cproj="/home/brian/Documents/Code/forks/"
# custom BROWSER env for ddgr:
@ -323,6 +320,11 @@ alias npm_list="npm list -g --depth=0"
alias pip_upgrade="python -m pip install --upgrade pip"
# pip list and pip freeze command list pip packages
# get top process eating memory
alias psmem="ps auxf | sort -nr -k 4 | head -5"
# get top process eating cpu
alias pscpu="ps auxf | sort -nr -k 3 | head -5"
# game shortcuts
alias {cbpunk,cyberpunk}="steam steam://rungameid/1091500 &"
alias {twd,thewalkingdead}="steam steam://rungameid/1449690 &"