Browse Source

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

Octavian Neamtu 9 years ago
parent
commit
fb5b83d10d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/jump/jump.plugin.zsh

+ 1 - 1
plugins/jump/jump.plugin.zsh

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