aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/.nnn-plugin-helper
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/.nnn-plugin-helper')
-rw-r--r--plugins/.nnn-plugin-helper2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/.nnn-plugin-helper b/plugins/.nnn-plugin-helper
index 0f74fc7..bcb9649 100644
--- a/plugins/.nnn-plugin-helper
+++ b/plugins/.nnn-plugin-helper
@@ -15,7 +15,7 @@ export CUR_CTX
## Ask nnn to switch to directory $1 in context $2.
## If $2 is not provided, the function asks explicitly.
nnn_cd () {
- dir=$1
+ dir="$1"
if [ -z "$NNN_PIPE" ]; then
echo "No pipe file found" 1>&2