about summary refs log tree commit diff
path: root/Completion/Builtins/_fc
blob: 5b493dc3b23f888c6b258d6fa4826dddc2f0d12b (plain) (blame)
1
2
3
4
5
6
7
8
9
#compdef fc

local prev="$words[CURRENT-1]"

if [[ "$prev" = -*e ]]; then
  compgen -c
elif [[ "$prev" = -[ARWI]## ]]; then
  _files
fi