Created
October 13, 2016 08:00
-
-
Save k-nishijima/cbc085c401f72858278166263bba19ce to your computer and use it in GitHub Desktop.
bashでpecoをお使いの皆様へ
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
function pcd { | |
local dir="$( find $GOPATH/src -maxdepth 3 -type d | peco )" | |
if [ ! -z "$dir" ] ; then | |
cd "$dir" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment