mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 23:30:08 +00:00
Fixed jump pluging to display the right mark name on 'mark . '
This commit is contained in:
parent
563e1052c7
commit
fb5b83d10d
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ jump() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mark() {
|
mark() {
|
||||||
if (( $# == 0 )); then
|
if [[ ( $# == 0 ) || ( "$1" == "." ) ]]; then
|
||||||
MARK=$(basename "$PWD")
|
MARK=$(basename "$PWD")
|
||||||
else
|
else
|
||||||
MARK="$1"
|
MARK="$1"
|
||||||
|
|
Loading…
Reference in a new issue