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
<div class="container_div"> | |
<div class="target_widget"></div> | |
</div> | |
<div class="container_div"> | |
<div class="non_target"></div> | |
</div> |
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
function github { | |
branch="$(git rev-parse --abbrev-ref HEAD)" | |
url="$(git config --get remote.origin.url)" | |
url=${url/[email protected]:/http://github.com/} | |
url=${url/.git/} | |
if [[ $1 =~ "compare" ]]; then action="compare" | |
else action="tree"; fi | |
if [[ $2 != "" ]]; then base="$2..." |