~/.bash_aliases
Update aliases by running:
sudo apt-get update
For example if you install composer:
curl -sS https://getcomposer.org/installer | php
https://getcomposer.org/download/
curl -sS https://getcomposer.org/installer | php
https://getcomposer.org/download/
You can then create alias for composer by editing the bash file and typing:
alias composer='/usr/local/bin/composer'
Now you can run composer anywhere just by typing composer
Sources:
http://ss64.com/bash/syntax-bashrc.html
Ei kommentteja:
Lähetä kommentti