Skip to content

Instantly share code, notes, and snippets.

@djdrzzy
Created September 9, 2022 19:21
Show Gist options
  • Save djdrzzy/45d2ff9c4f6e27c9c3dcf832c677a1ce to your computer and use it in GitHub Desktop.
Save djdrzzy/45d2ff9c4f6e27c9c3dcf832c677a1ce to your computer and use it in GitHub Desktop.
# Simple web server for the local directory
alias webserver='python -m SimpleHTTPServer 8000'
# SSH Keep alive
alias ssh='ssh -o ServerAliveInterval=60'
# Our own executables directory for scripts and the like
#export PATH=~/bin:$PATH
# pretty print json
alias ppj='python -m json.tool'
# lets us view all files and directorys when ls'ing
alias ls='ls -a -G'
# Shows our recent git branches
alias git-recent="git for-each-ref --count=15 --sort=-committerdate refs/heads/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment