lincheney / fzf-tab-completion

Tab completion using fzf
GNU General Public License v3.0
652 stars 41 forks source link

Bash completion - Don't expand alias while completing it #27

Closed tseeker closed 3 years ago

tseeker commented 4 years ago

Aliases were being expanded even if the command itself was being completed. Avoid this by only expanding the alias if we are completing its arguments. This should fix issue #24.