Mac

Know the Actual Exact Commands for an Alias

Since I use Dotfiles, which comes bundled with many alias, it is easy to lose track of the exact commands an alias refers to..

This morning, I typed gl on my zsh bash, thinking it is git log, but turned out it is git pull..

2 bash commands

type will resolve what the alias is for:

$ type gl
$ gl is an alias for git pull

Another command is alias, which will list all of the current aliases.

Comments