zsh
我在升级过程中已经搬到了。但是,现在我尝试发出一些systemctl
命令,但不断收到“命令未找到”错误。
我的~/.bashrc
文件:
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
我的顶部~/.zshrc
:
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# export PATH="$PATH:$HOME/.rvm/bin"
# export PATH=$HOME/bin:/usr/local/bin:/sbin:/usr/sbin:$PATH
export PATH="$PATH:$HOME"
# Path to your oh-my-zsh installation.
export ZSH="/Users/<username>/.oh-my-zsh"
一直在用头撞墙! - 我已经尝试了所有已经注释掉的路径。
答案1
感谢@Fox。
不得不使用
sudo launchctl start|stop postfix