mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
git plugin: print uniformly https and ssh repositories.
This commit is contained in:
parent
accdcb2f1c
commit
f8ff70d267
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ function current_repository() {
|
||||||
if ! $_omz_git_git_cmd rev-parse --is-inside-work-tree &> /dev/null; then
|
if ! $_omz_git_git_cmd rev-parse --is-inside-work-tree &> /dev/null; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
echo $($_omz_git_git_cmd remote -v | cut -d':' -f 2)
|
echo $($_omz_git_git_cmd remote -v | awk 'BEGIN { FS = "github.com[\:\/]" } { print $NF }')
|
||||||
}
|
}
|
||||||
# Pretty log messages
|
# Pretty log messages
|
||||||
function _git_log_prettily(){
|
function _git_log_prettily(){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue