Created
February 17, 2016 19:48
-
-
Save jkatayama/4be344e3b691f4c043ed to your computer and use it in GitHub Desktop.
go to the directory in which your command exists
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
cd $(dirname "$(which npm)") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment