summaryrefslogtreecommitdiffstats
path: root/completions/e2label
diff options
context:
space:
mode:
Diffstat (limited to 'completions/e2label')
-rw-r--r--completions/e2label15
1 files changed, 15 insertions, 0 deletions
diff --git a/completions/e2label b/completions/e2label
new file mode 100644
index 0000000..ac8e4b5
--- /dev/null
+++ b/completions/e2label
@@ -0,0 +1,15 @@
+# e2label(8) completion -*- shell-script -*-
+
+_e2label()
+{
+ local cur prev words cword
+ _init_completion || return
+
+ if ((cword == 1)); then
+ cur=${cur:=/dev/}
+ _filedir
+ fi
+} &&
+ complete -F _e2label e2label
+
+# ex: filetype=sh