Hacker News new | ask | show | jobs
by stevenhuang 1541 days ago
I do this whenever working on terminal.

The mnemonic is erc=edit rc, src=source rc.

alias erc="vim ~/.bash_aliases" alias src="source ~/.bash_aliases"

Whenever I need to add or modify some shell function or alias (or even make a quick note) I type erc to open the alias file. Then I type src to load it. Very handy.

1 comments