sio / bash-complete-partial-path

Enhanced file path completion in bash (like in zsh)
Apache License 2.0
54 stars 2 forks source link

Executing the cd command completion shows the file #19

Closed zhengqijun0121 closed 2 years ago

zhengqijun0121 commented 2 years ago

The files in the directory are displayed when the cd command is executed to complete

~ 
$ cd /home/user/.vim/colors/
gruvbox.vim         molokai.vim
~ 
$ cd /home/user/.vim/colors/gruvbox.vim
zhengqijun0121 commented 2 years ago
# compopt -o bashdefault
# compopt -o default

If commented, the files in the directory will not be displayed.