Update 30.01.2022
This commit is contained in:
@@ -3383,7 +3383,7 @@ _git_worktree ()
|
||||
# Here we are not completing an --option, it's either the
|
||||
# path or a ref.
|
||||
case "$prev" in
|
||||
-b|-B) # Complete refs for branch to be created/reseted.
|
||||
-b|-B) # Complete refs for branch to be created/reset.
|
||||
__git_complete_refs
|
||||
;;
|
||||
-*) # The previous word is an -o|--option without an
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
# Handle $0 according to the standard:
|
||||
# https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html
|
||||
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
|
||||
0="${${(M)0:#/*}:-$PWD/$0}"
|
||||
|
||||
source "${0:A:h}/git-prompt.sh"
|
||||
|
||||
function git_prompt_info() {
|
||||
|
||||
Reference in New Issue
Block a user