Skip to content

Instantly share code, notes, and snippets.

@cpressey
Created August 10, 2021 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpressey/1b029defd4dff4220fa00c5b66e6023e to your computer and use it in GitHub Desktop.
Save cpressey/1b029defd4dff4220fa00c5b66e6023e to your computer and use it in GitHub Desktop.
.bash_aliases
# encoding: UTF-8
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'
export PATH="$HOME/.cabal/bin:$HOME/.local/bin:$PATH"
export EDITOR=nano
alias unpyc="find . -name '*.pyc' -exec rm -f {} \;"
alias rsyncavd="rsync --archive --verbose --delete"
alias git-savepatch='git diff >'
alias chintzy-httpd='python2 -m SimpleHTTPServer'
alias pretty-print-json='python2 -mjson.tool'
if [ -e $HOME/.bash_local ]; then
. $HOME/.bash_local
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment