Created
May 14, 2022 19:16
-
-
Save slashtechno/c40102384b7a55ac592bab97989e7981 to your computer and use it in GitHub Desktop.
Function to quickly change to a specific directory in a drive (bash, zsh, etc)
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
x() { | |
cd /media/<user>/<drive>/"${1:-}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment