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