shortcut to display the url config of remote repo in a git root

This commit is contained in:
Johann Dreo 2013-01-04 15:31:12 +01:00
commit 7bce2f81cc

View file

@ -175,6 +175,9 @@ HISTTIMEFORMAT='%F %T '
# Manually switch to the bépo keyboard layout
alias bepo="setxkbmap -layout fr -variant bepo -option"
# shortcut to display the url config of remote repo in a git root
alias git_remotes="grep -A 2 \"\[remote\" .git/config|grep -v fetch|sed \"s/\[remote \\\"//\"|sed ':a;N;\$!ba;s/\"\]\n\s*url = /\t/g'"
# Super nice prompt
source ~/.liquidprompt