I\'m trying to write a small script to change the current directory to my project directory:
#!/bin/bash cd /home/tree/projects/java
I save
I have a simple bash script called p to manage directory changing ongithub.com/godzilla/bash-stuff just put the script in your local bin directory (/usr/local/bin) and put
alias p='. p'
in your .bashrc