about summary refs log tree commit diff
path: root/Functions/Completion/__fc
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Completion/__fc')
-rw-r--r--Functions/Completion/__fc7
1 files changed, 7 insertions, 0 deletions
diff --git a/Functions/Completion/__fc b/Functions/Completion/__fc
new file mode 100644
index 000000000..9185312b0
--- /dev/null
+++ b/Functions/Completion/__fc
@@ -0,0 +1,7 @@
+#function fc
+
+if [[ -mcurrent -1 -*e ]]; then
+  complist -c
+elif [[ -mcurrent -1 -[ARWI]## ]]; then
+  __files
+fi