oh-my-zsh

Why can't I get the cobalt2 zsh theme to work on my iTerm2?

谁说胖子不能爱 提交于 2019-12-08 04:50:39
问题 I want to install this ZSH theme . I downloaded both the iTerm2 and ZSH themes. The iTerm theme was imported through the preferences. The ZSH theme was inserted into ~/.oh-my-zsh/themes along with all the other ZSH themes. When I open my .zshrc and change ZSH_THEME="bobbyrussell" to ZSH_THEME="cobalt2" nothing happens. I restart iTerm but the colors are not changed. Updated with Details: ~ echo $ZSH_THEME cobalt2 ~ echo $PROMPT %/ ~ File: ~/.zshrc # Path to your oh-my-zsh installation. export

MAC配置终端(item2 + oh-my-zsh + solarized配色方案)

孤街醉人 提交于 2019-12-07 18:48:21
https://www.jianshu.com/p/246b844f4449 安装item2: 下载地址 将iTem2设置为默认终端: (菜单栏)iTerm2 -> Make iTerm2 Default Term 然后打开偏好设置preference,选中Keys,勾选Hotkey下的Show/hide iTerm2 with a system-wide hotkey,将热键设置为command+. ,这样你就可以通过command+. 全局热键来打开或关闭iTerm2窗口,非常方便。 配色方案: http://ethanschoonover.com/solarized 下载后解压到某个位置 然后打开 iTerm2 下的偏好设置 preference ,点开 profiles 下的colors 选项,点击右下角的 Color Presets 选项,选择import ,导入解压到的 solarized 文件下的Solarized Dark.itermcolors 。 安装oh-my-zsh github连接: https://github.com/robbyrussell/oh-my-zsh 使用 crul 安装 sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools

Iterm2安装Zsh + Oh My Zsh+Solarized

心已入冬 提交于 2019-12-07 18:48:10
安装Oh My Zsh curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh 安装Zsh: 1.安装zsh brew install zsh 2.配置iterm2 sudo vim /etc/shells 输入: /usr/local/bin/zsh chsh -s /usr/local/bin/zsh 3.然后重新启动iTerm2,zsh就已经被配置成默认的shell了。 安装Solarized: 1.下载: git clone git://github.com/altercation/solarized.git 2.安装 然后打开 solarized/iterm2-colors-solarized/ 双击里面的文件 3.配置iterm2 依次打开 iTerm2 - Preferences - Profiles - Text - Text Rendering,将 Draw bold text in bright colors 前面的勾去掉 来源: oschina 链接: https://my.oschina.net/u/2391658/blog/1859379

Why can't I get the cobalt2 zsh theme to work on my iTerm2?

纵然是瞬间 提交于 2019-12-06 20:44:25
I want to install this ZSH theme . I downloaded both the iTerm2 and ZSH themes. The iTerm theme was imported through the preferences. The ZSH theme was inserted into ~/.oh-my-zsh/themes along with all the other ZSH themes. When I open my .zshrc and change ZSH_THEME="bobbyrussell" to ZSH_THEME="cobalt2" nothing happens. I restart iTerm but the colors are not changed. Updated with Details: ~ echo $ZSH_THEME cobalt2 ~ echo $PROMPT %/ ~ File: ~/.zshrc # Path to your oh-my-zsh installation. export ZSH=/Users/username/.oh-my-zsh # Set name of the theme to load. # Look in ~/.oh-my-zsh/themes/ #

NVM cannot load default node with default alias set

删除回忆录丶 提交于 2019-12-06 16:17:53
My problem is almost the same as this one but i already set the default alias. Once i open a new console nvm does not load the default node, this problem is also present with some SublimeText3 plugins (eslint, jscs for example). The only way to make it work is to add nvm use default after loading nvm but i thik i am doing something wrong. How can i make it work without the hack? My configuration brew 0.9.5 nvm 0.26.0 (installed using brew) zsh (with oh-my-zsh) I have nvm sourced in .zshenv with th following config: export NVM_DIR=~/.nvm source $(brew --prefix nvm)/nvm.sh # nvm use default # <-

zsh: permission denied: gam

佐手、 提交于 2019-12-06 08:26:45
I am using ZSH on macOS 10.12 with Oh My ZSH installed. I recently installed GAM on my computer using the provided install script bash <(curl -s -S -L https://git.io/install-gam) The script installs the command line tool gam to ~/bin/gam/gam , which is in my PATH . However, when trying to execute any gam command in ZSH, I get the following: ➜ ~ gam info user zsh: permission denied: gam However, when executing the same (or any) command in bash, the tool works as expected. I have been able to get the command to work by placing alias gam="~/bin/gam/gam" in my .zshrc , but this causes some

oh-my-zsh does not start on mac

跟風遠走 提交于 2019-12-04 23:04:31
问题 I installed oh-my-zsh as suggested in http://ohmyz.sh/. FYI, [~]$ zsh --version zsh 5.0.8 (x86_64-apple-darwin15.0) [~]$ echo $SHELL /bin/zsh [~]$ ls .oh-my-zsh/ LICENSE.txt cache lib oh-my-zsh.sh templates tools README.md custom log plugins themes Only when I type "zsh" then I can see the oh-my-zsh prompt like: [~]$ zsh ➜ ~ Also, I tried to change my default shell to zsh: [~]$ chsh -s /bin/zsh Changing shell for myUserName. Password for myUserName: chsh: no changes made How can I use

Zsh Docker Plugin not Working

亡梦爱人 提交于 2019-12-03 22:12:20
I have been using oh-my-zsh for a while now and the docker plugin as recently stopped working for me for some reason. I checked my ~/.zshrc file and the plugin is included plugins=(git colored-man colorize github jira vagrant virtualenv pip python brew osx zsh-syntax-highlighting docker) I checked the ~/.oh-my-zsh/plugins/docker directory and there is a _docker file in there. Yet when I type docker and press Tab, I get none of the autocomplete shortcuts that I used to get. I can confirm that my git plugin works just fine but not the docker plugin. Tried doing exec zsh and source ~/.zshrc and

Homebrew installs nvm but nvm can't be found afterwards?

旧街凉风 提交于 2019-12-03 18:20:42
问题 I'm using homebrew and oh-my-zsh on a fresh OSX 10.10.1 install. I got nvm via homebrew and then attempted to run it but says - zsh: command not found: nvm Any idea what the problem is? I was able to install and use git just fine... UPDATED 9/20/2019 As stated by more recent answers from DarkPurple141 and Elise van Looij. nvm doesn't appear to be compatible with homebrew . This is also stated in the official nvm-sh repo located here. Homebrew installation is not supported. If you have issues