Created
October 12, 2018 16:41
-
-
Save gecko655/588504b63e586804e7b007a58f8fe0d8 to your computer and use it in GitHub Desktop.
他のプロセスが居るとしぬ
This file contains hidden or 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
git-clone-and-cd() { | |
before=`ls -1` | |
git clone "$1" | |
cd `diff --new-line-format="%L" \ | |
--old-line-format="" \ | |
--unchanged-line-format="" \ | |
<(echo "$before") <(ls -1)` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment