oh-my-zsh

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

大兔子大兔子 提交于 2019-11-29 19:31:27
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 with homebrew-installed nvm, please brew uninstall it, and install it using the instructions below,

oh my zsh docker 补全不生效问题

☆樱花仙子☆ 提交于 2019-11-29 15:03:56
按照官方文档安装了 zsh oh my zsh docker-ce 就当在zsh启用docker插件的时候 死活 docker 2次tab 过后不出来 基本上没人遇到这个问题。 百度几乎没有头绪。 谷歌到:stackoverflow https://stackoverflow.com/questions/37428133/zsh-docker-plugin-not-working# 应该是删除 缓存文件 rm ~/.zcompdump* 然后重新登陆zsh 果然好使!!! 如果oh my zsh 使用tab 补全不生效,估计百分之九十九是这个问题。 github 问题链接: https://github.com/robbyrussell/oh-my-zsh/issues/7642 感谢您的报道,并分享了移除.zcompdump的工作.档案。这让我快疯了! 来源: https://my.oschina.net/VASKS/blog/3106041

How to disable zsh substitution/autocomplete with URL and backslashes

浪尽此生 提交于 2019-11-29 14:41:58
问题 I am using zsh with oh-my-zsh on Ubuntu:14.04. The shell autocompletes escape character with backslash when I paste a URL. For example with environment variables: $ wget http://{DEFAULT_IP}/index.html It will become: $ wget http://\{DEFAULT_IP\}/index.html How can I disable this function? 回答1: update 2019-05-12: new version(> 486fa10) oh-my-zsh have a configuration for this, add DISABLE_MAGIC_FUNCTIONS=true before source $ZSH/oh-my-zsh.sh : DISABLE_MAGIC_FUNCTIONS=true source $ZSH/oh-my-zsh

Weird rails error “permission denied: bin/rails” for old rails apps

天涯浪子 提交于 2019-11-29 06:21:18
问题 I'm getting this error whenever I run rails (or any rails command) _rails_command:2: permission denied: bin/rails ONLY when i'm inside some old rails app directory. In these directories bundle exec rails c command works but rails or even rails -v don't work. Background: I keep my coding workspace in dropbox folder. Now I recently installed Manjaro and hence all the rails apps which I downloaded back from my previous OS I call them old rails app. In Short: Rails works fine everywhere except

How do I get IntelliJ Terminal to work properly with Oh My Zsh?

这一生的挚爱 提交于 2019-11-27 07:47:53
问题 I love Oh My Zsh, but it has never worked properly in the JetBrains product's Terminals: cannot find executables cannot use version managers like pyenv, sdkman, rvm Oh My Zsh is zsh shell augmentation, so the actual problem could be reduced to just getting zsh to work properly. I have tried toggling all of the Terminal config options (individually and en masse) after reading some intellij issues, to an avail. ref: https://github.com/robbyrussell/oh-my-zsh 回答1: Can't find binaries, can't run

Git branch command behaves like 'less'

北城余情 提交于 2019-11-26 21:17:58
When I use the git branch command to list all branches, I see the output of git branch | less . The command git branch is supposed to show a list of branches, like ls does for files. This is the output I get: How I get the default behaviour of git branch ? What causes the paged output? I am using ZSH with oh_my_zsh (nothing for Git in there), and my .gitconfig looks like this: [user] email = myemail@mail.com name = Dennis Haegler [push] default = simple [merge] tool = vimdiff [core] editor = nvim excludesfile = /Users/dennish/.gitignore_global [color] ui = true [alias] br = branch ci = commit

Git branch command behaves like 'less'

痴心易碎 提交于 2019-11-26 07:52:15
问题 When I use the git branch command to list all branches, I see the output of git branch | less . The command git branch is supposed to show a list of branches, like ls does for files. This is the output I get: How do I get the default behaviour of git branch ? What causes the paged output? I am using ZSH with oh_my_zsh (nothing for Git in there), and my .gitconfig looks like this: [user] email = myemail@mail.com name = Dennis Haegler [push] default = simple [merge] tool = vimdiff [core] editor