summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlo Sala <carlosalag@protonmail.com>2024-09-23 17:32:44 +0200
committerCarlo Sala <carlosalag@protonmail.com>2024-09-23 17:32:44 +0200
commit367e9381dfae65e020cb5c439818e04ae1dd9423 (patch)
tree9692987dc74d6e76db32b4d3b3d7f80e9f19e338
parentf11cc8fea190eb9a1638dc67877436d0b8475ff5 (diff)
downloadzsh-367e9381dfae65e020cb5c439818e04ae1dd9423.tar.gz
zsh-367e9381dfae65e020cb5c439818e04ae1dd9423.tar.bz2
zsh-367e9381dfae65e020cb5c439818e04ae1dd9423.zip
chore(git): fix typo
-rw-r--r--lib/git.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git.zsh b/lib/git.zsh
index 8237af751..0efff3e07 100644
--- a/lib/git.zsh
+++ b/lib/git.zsh
@@ -163,7 +163,7 @@ function git_current_branch() {
}
# Outputs the name of the previously checked out branch
-# Usage example: git pull origin $(git_current_branch)
+# Usage example: git pull origin $(git_previous_branch)
# rev-parse --symbolic-full-name @{-1} only prints if it is a branch
function git_previous_branch() {
local ref