Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Shell 别名

为了快速运行命令, 可以把 alias j=just 放在你的 Shell 配置文件中。

bash 中,别名的命令可能不会保留下一节中描述的 Shell 自动补全功能。可以在你的 .bashrc 中添加以下一行,以便在你的别名命令中使用与 just 相同的自动补全功能:

complete -F _just -o bashdefault -o default j