mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Merge 92a9fee013 into e9fc134236
This commit is contained in:
commit
16d0d72838
2 changed files with 7 additions and 0 deletions
|
|
@ -71,6 +71,12 @@ function grename() {
|
|||
fi
|
||||
}
|
||||
|
||||
# List latest X (default 10) used branches
|
||||
glb() {
|
||||
local count=${1:-10}
|
||||
git reflog | grep 'checkout: moving' | awk '{print $8}' | awk '!seen[$0]++' | head -n "$count"
|
||||
}
|
||||
|
||||
#
|
||||
# Functions Work in Progress (WIP)
|
||||
# (sorted alphabetically by function name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue