【发布时间】:2015-07-17 11:46:55
【问题描述】:
我将 Zsh 与 oh-my-zsh 一起使用,
以下代码破坏了 zsh:
find ... | while read path
do
echo "dedug «${path}»"
done
那么所有没有内置的脚本和函数都坏了
❯ invntrm $ which whois
whois not found
❯ invntrm $ which man
man not found
...
重新启动修复问题,直到我再次运行该命令。
我的设置几乎是库存,我使用了一些 omz 插件:
git #·
command-not-found #·
coffee #·
encode64 #·
httpie #·
node #·
npm #·
cp # cp with progress bar (rsync)
extract # 'x' alias - swiss knife for archive extracting
safe-paste # No execute immidiately every line # No compatible with zsh-autosuggestions :(
fasd # https://github.com/clvv/fasd - command-line productivity booster, offers quick access to files and directories
brew #·
osx # https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins#osx
copyfile # copies selected file content to clipboard
【问题讨论】: