mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-20 09:33:42 -05:00
Updated examples (markdown)
@@ -150,8 +150,7 @@ z() {
|
|||||||
if [[ -z "$*" ]]; then
|
if [[ -z "$*" ]]; then
|
||||||
cd "$(_z -l 2>&1 | sed -n 's/^[ 0-9.,]*//p' | fzf)"
|
cd "$(_z -l 2>&1 | sed -n 's/^[ 0-9.,]*//p' | fzf)"
|
||||||
else
|
else
|
||||||
local reporoot="$(command git rev-parse --show-toplevel 2> /dev/null)"
|
_z "$@"
|
||||||
_z $reporoot "$@"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user