shortcut to display the url config of remote repo in a git root
This commit is contained in:
parent
991f86f806
commit
7bce2f81cc
1 changed files with 4 additions and 1 deletions
3
.bashrc
3
.bashrc
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue