解決wsl不能安裝z.sh問題

z.sh是韋大很推崇的相似autojump的bash插件,可以很方便的尋找目錄,然而wsl下不能直接使用,解決方法在其github倉庫(z)的issue中找到:git

Reproduce it at Microsoft Windows [version 10.0.17134.286], ——1803, and add unsetopt BG_NICE to .zshrc according to Microsoft/WSL#1887.github

簡單說就是1803以上的Windows版本,在.bashrc或者.zshrc裏添加unsetopt BG_NICE後便可正常使用。bash

相關文章
相關標籤/搜索