我最近配置了oh-my-zsh,但我現在無法在我的命令行中訪問Rails(zsh和bash都向我拋出一個錯誤,說我沒有安裝了導軌,我需要安裝)。過去,在安裝oh-my-zsh之前,我已經安裝了相當廣泛的rails。 我.zshrc: # If you come from bash you might have to change your $PATH.
# export PATH=$HOME/b
/Users/ello/.zshrc:source:3: no such file or directory:
/Users/ello/Projects/config/env.sh
Ello-MacBook-Pro% /Users/ello/.zshrc:source
zsh: no such file or directory: /Users/ello/.zshrc:source
Ell
我喜歡ZSH shell及其主題,但速度很慢。加載需要7到10秒。即使加載速度很慢,我也將它用作VS代碼中的集成終端。這是我的.zshrc文件的副本。 # Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
export PS1="[%* - %D] %d %% "
# Set name of the them