shoestrap/assets/default/fish/completions/python.fish
2017-11-28 18:48:44 -08:00

3 lines
197 B
Fish

# Use FZF to complete python modules rather than standard file completion
complete -c python -s m -a "(ag --py -g '' | sed -e 's/\//./g' -e 's/\(.__init__\)*.py\$//' | fzf --reverse --height 40%)"