Skip to content

常见问题

系统tab键无法补全

Bash 的补全功能由 ~/.bashrc 文件控制。检查是否包含以下行:

sh
# edit ~/.bashrc or ~/.zshrc
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
    . /etc/bash_completion
fi

# or

echo 'source /etc/bash_completion' >> ~/.bashrc

source ~/.bashrc