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