Last active
December 12, 2015 02:18
-
-
Save carlossanchezp/4697034 to your computer and use it in GitHub Desktop.
Para ahorrar escritura e ir directamente a los directorios de trabajo, pon estas líneas en tu .bashrc. Ejemplo si pones goto midir te irá directamente al directorio de tu proyecto midir.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PRJ=$HOME/Proyectos | |
function goto | |
{ | |
case $1 in | |
(mipr) cd $PRJ/miproyecto1;; | |
(pr) cd $PRJ;; | |
esac | |
pwd | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment