-
-
Save zahardev/0781e9258b3e919d50126146df3c5083 to your computer and use it in GitHub Desktop.
Quick navigation through your Linux (or maybe Mac) system in console
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
#!/bin/bash | |
case "$1" in | |
work) | |
path="/home/myuser/Work/" | |
;; | |
flutter) | |
path="/home/myuser/Work/flutter/" | |
;; | |
esac | |
cd $path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
goto
(and adjust it for your needs).chmod +x goto
mv goto /usr/bin
. goto work