DEV Community

Discussion on: Creating Terminal Shortcuts with Aliases

Collapse
 
moopet profile image
Ben Sinclair

This is more of a Bash thing than a MacOS thing.

Handy tip: if you put your aliases in a file of their own and call that from your startup script instead, you can re-run that file from the command line without having to restart your terminal. I mean you could just do . ~/.bash_profile but that would be annoying if there was anything in there that you didn't want to run twice.