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

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

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