$ touch circleci.sh
$ vim circleci.sh
i
paste the snippet
:wq
write quite in vim
Add alias circleci='sh ~/circleci.sh $1'
to your .bash_profile with vim or your favorite editor.
Call by
$ circleci myorginizationname
#!/usr/bin/env bash | |
open https://circleci.com/gh/$1/$(basename `git rev-parse --show-toplevel`)/tree/$(echo `git symbolic-ref --short HEAD`) |