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..f0d2c03fd
--- /dev/null
+++ b/Functions/Completion/_fc
@@ -0,0 +1,7 @@
+#defcomp fc
+
+if [[ -mcurrent -1 -*e ]]; then
+  complist -c
+elif [[ -mcurrent -1 -[ARWI]## ]]; then
+  _files
+fi