Skip to content

Instantly share code, notes, and snippets.

@temmings
Last active May 6, 2016 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save temmings/5ab9fa91b6075a46df5f8b18687894df to your computer and use it in GitHub Desktop.
Save temmings/5ab9fa91b6075a46df5f8b18687894df to your computer and use it in GitHub Desktop.
Zshのエイリアスの好きなところに引数を取りたい ref: http://qiita.com/temmings/items/c1ee9885b2c68581fd22
alias show-ssl-cert='openssl s_client -connect $1:443 -showcerts'
alias show-ssl-cert='(){ openssl s_client -connect $1:443 -showcerts }'
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