Nathan Gilbert


Desktop setup

Subjective Dev Life Hacks

Aliases

Aliases are available in most modern shells. They save time by reducing the amount of characters
needed to invoke common commands.

alias ga='git add . and git add -u .'
alias gb='git branch'
alias gs='git status'
alias gt='cd (git rev-parse --show-cdup)'
alias gbd='git branch --delete'
alias gca='git commit --amend'
alias glg="git log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias gpr='git pull --rebase'
alias nus='nvm use stable'
alias gcam='git commit -a -m'
alias gcan='git commit --amend --no-edit'
alias gcma='git checkout main'

Git Decorations in Your Shell

You spend a lot of time in your shell, make it nice to look at and work for you.

Command History and Searching

Directory Jumping

Life's too short to type long directory names.

IDE Plugins

You probably spend even more time in your IDE, so spruce it up a bit.