Last active
May 26, 2021 15:20
-
-
Save bloatfan/8d1f4c737abdfcc4f9f361d370180f32 to your computer and use it in GitHub Desktop.
bash 补全文件
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bash | |
https://stackoverflow.com/questions/33632668/bash-tab-completion-of-filenames-after-arguments | |
complete -D -o default | |
# zsh | |
https://unix.stackexchange.com/questions/333530/zsh-path-file-name-completion-on-file-arguments/333543#333543?newreg=65c5031ab2d6429984db9f2c4a26ac3c | |
setopt magicequalsubst | |
以上设置可以解决参数补全文件名的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment