Custom plugin to add quick aliases
- Navigate to
~/.oh-my-zsh/custom/plugins
- Clone Repo
- Open zsh config
nano ~/.zshrc
- Add
a-few-aliases
to yourplugins=()
- Save and Exit
- Pull in new config
source .zshrc
Command | Description |
---|---|
zshconfig |
Edit your .zshrc file |
zshrefresh |
Update to latest .zshrc file |
clear-dns |
Clear DNS cache |
lockme |
Lock your Mac |
show-files |
Show all hidden files in Finder |
hide-files |
Hide all hidden files in Finder |
Command | Description |
---|---|
g+ |
git add all files |
gc |
git commit |
g0 |
git reset |
g00 |
git reset to master |
gfh |
git fetch |
gpl |
git pull |
gph |
git push |
gmr |
git push -u origin |
gfph |
git push -f |
gchx |
git checkout |
gclean |
prune local branches |