summaryrefslogtreecommitdiff
path: root/completions/e2label
diff options
context:
space:
mode:
Diffstat (limited to 'completions/e2label')
-rw-r--r--completions/e2label4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/e2label b/completions/e2label
index c145c3a0..ac8e4b5f 100644
--- a/completions/e2label
+++ b/completions/e2label
@@ -5,11 +5,11 @@ _e2label()
local cur prev words cword
_init_completion || return
- if [[ $cword -eq 1 ]]; then
+ if ((cword == 1)); then
cur=${cur:=/dev/}
_filedir
fi
} &&
-complete -F _e2label e2label
+ complete -F _e2label e2label
# ex: filetype=sh