For bash you have to do the following steps:
1) Open your .bashrc
sudo nano ~/.bashrc
2) Add new alias (at the end of the file)
alias phpstorm='cd ~/Downloads/phpstorm/bin/./phpstorm.sh'
3) Save and close the file
4) Source the .bashrc
file
source ~/.bashrc
reference :
http://www.linfo.org/alias.html