(run once and the setup will be retained)
$ pwd # ensure you are in the home directory
/Users/reshamashaikh
$ emacs ~/.bash_profile # edit file
$ source ~/.bash_profile # run file
Edit .bash_profile by adding these aliases
alias ls='ls -G'
alias rm='rm -i'
'ls -G' will print directories in blue
'rm -i' will prompt user to confirm if file should be deleted
--
(must be re-run each time terminal is started)
$ pwd
/Users/reshamashaikh
$ emacs .bash_profile
$ source .bash_profile
Resources