Commit fb5b83d1 authored by Octavian Neamtu's avatar Octavian Neamtu Committed by ncanceill

Fixed jump pluging to display the right mark name on 'mark . '

parent 563e1052
...@@ -13,7 +13,7 @@ jump() { ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment