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

pull/3809/head
Octavian Neamtu 2015-05-09 19:12:14 -04:00 committed by ncanceill
parent 563e1052c7
commit fb5b83d10d
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ jump() {
}
mark() {
if (( $# == 0 )); then
if [[ ( $# == 0 ) || ( "$1" == "." ) ]]; then
MARK=$(basename "$PWD")
else
MARK="$1"