4 ms·
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" Whenev
by stevenhuang 5y 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.
- bmn__ 5y agoYou should combine this into one command. http://www.modernperlbooks.com/mt/2009/10/remove-the-little-pessimizations.html http://www.modernperlbooks.com/mt/2009/10/remove-the-little-...