Thursday, November 14, 2013
Bash script - Using alias
Recently, whenever I open my computer's terminal, I always have to change directory to my projects folder. So, to avoid repeating that action, I add an alias to my Xubuntu's bash an alias:
alias projects='cd /var/projects/'
Restart, and then I can only need to type 'projects' to change my current directory to the project base.
For more information: