Discussion

Ask HN: Share your favourite bash/zsh aliases

I'll start by adding the most essential.

alias o="open"

alias x="exit"

alias g="git"

alias gs='git status'

alias gd='git diff'

alias g-='git checkout -'

alias serve='python -m SimpleHTTPServer 8000'

alias mem='top -l1 | grep PhysMem'

38 points yanis_t 11 years ago 73 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton