Last active
May 6, 2016 20:51
-
-
Save temmings/5ab9fa91b6075a46df5f8b18687894df to your computer and use it in GitHub Desktop.
Zshのエイリアスの好きなところに引数を取りたい ref: http://qiita.com/temmings/items/c1ee9885b2c68581fd22
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
alias show-ssl-cert='openssl s_client -connect $1:443 -showcerts' |
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
alias show-ssl-cert='(){ openssl s_client -connect $1:443 -showcerts }' |
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
alias g='(){ cd $(ghq root)/$(ghq list | peco --query "$*") }' | |
alias gh='(){ hub browse $(ghq list | peco --query "$*" | cut -d "/" -f 2,3) }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment