-
Abrir el terminal
-
Ejecutar los comandos
$ cd ~
$ vim .bash_profile
- Crea tu función :)
test() {
cd /Applications/MAMP/htdocs
}
- Guarda el archivo
- Ejecutar el comando
source .bash_profile
Referencias
Abrir el terminal
Ejecutar los comandos
$ cd ~
$ vim .bash_profile
test() {
cd /Applications/MAMP/htdocs
}
source .bash_profile
Referencias