about summary refs log tree commit diff
path: root/Functions/Completion/__unhash
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Completion/__unhash')
-rw-r--r--Functions/Completion/__unhash6
1 files changed, 6 insertions, 0 deletions
diff --git a/Functions/Completion/__unhash b/Functions/Completion/__unhash
new file mode 100644
index 000000000..73196ca1b
--- /dev/null
+++ b/Functions/Completion/__unhash
@@ -0,0 +1,6 @@
+#function unhash
+
+[[ -mword 1 -*d* ]] && complist -n
+[[ -mword 1 -*a* ]] && complist -a
+[[ -mword 1 -*f* ]] && complist -F
+[[ ! -mword 1 -* ]] && complist -m