/bash-profile

A bash profile to make your life easier

Primary LanguageShell

bash-profile

A bash profile used in Terminal to make your life easier

installation

1.) open terminal and type the following:

nano ~/.bash_profile

2.) You basically opened the nano editor inside your command line.Next copy the code from the Github file named 'source.bash' and paste it in the nano editor (in the command line)

3.) press ctrl + o (to save the file), then enter and then ctrl + x to exit the nano editor

4.) To enable the profile type the following:

source ~/.bash_profile

shortcuts

instead of 'pwd' you can type 'current'

instead of 'cp' you can type 'copy'

instead of 'mv' you can type 'move'

instead of 'cd' you can type 'goto'

instead of 'cat' you can type 'openfile'

instead of 'mv' you can type 'move'

instead of 'ls -Gh' you can type 'list' or 'list'

instead of 'history' you can type 'hy'

instead of 'cd ..' you can type 'cd1'

instead of 'cd ../../' you can type 'cd2'

instead of 'cd ../../../' you can type 'cd3'

instead of 'open -a' you can type 'opn'

instead of 'open -g -a' you can type 'opn bk'

instead of 'caffeinate -t 3600' you can type 'nosleep1'

instead of 'rm -r' you can type 'remove'

instead of 'mdfind' you can type 'search'