Questions tagged [oh-my-zsh]

Oh My Zsh is a popular open-source customization library for the Zsh terminal shell.

Oh My Zsh is a popular open-source customization library for the Zsh terminal shell.

950 questions
185
votes
7 answers

Git tab completion not working in zsh on mac

No matter what I try and do I can't seem to make git tab/auto completion work in my zsh shell. I've downloaded the bash-completion script and the zsh-completion one and followed the instructions, but I can't make it work. I've reinstalled oh-my-zsh…
hamchapman
  • 2,901
  • 4
  • 22
  • 37
165
votes
10 answers

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

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…
Dayan
  • 7,634
  • 11
  • 49
  • 76
139
votes
11 answers

zsh command cannot found pip

How can I use pip in oh-my-zsh? I was trying to install nltk through pip, but it told me zsh: command not found: pip. When I check plugins under .oh-my-zsh/custom/plugins, there is a folder named pip. I don't know what the problem is. Edit: $ echo…
Gejun
  • 4,012
  • 4
  • 17
  • 22
110
votes
9 answers

How to run "nvm" in "oh my zsh"?

In the system there is a nodejs, installed through nvm. The command is not running npm. Console is Oh my zsh
Rtx
  • 1,101
  • 2
  • 8
  • 5
83
votes
21 answers

How to automatically activate virtualenvs when cd'ing into a directory

I have a bunch of projects in my ~/Documents. I work almost exclusively in python, so these are basically all python projects. Each one, e.g. ~/Documents/foo has its own virtualenv, ~/Documents/foo/venv (they're always called venv). Whenever I…
Alex Lenail
  • 12,992
  • 10
  • 47
  • 79
82
votes
5 answers

oh my zsh showing weird character '?' on terminal

I have installed iTerm2 and Oh-my-zsh. However there is a weird question mark that is coming ever since I have changed ZSH-THEME to "agnoster". Attaching the screenshot for the same. I thought powerline would help but that doesn't seem to happen.…
Aditi Kaushal
  • 829
  • 1
  • 6
  • 3
78
votes
1 answer

how can I run the ssh-agent auto in the zsh environment?

I use the zsh and the oh-my-zsh. When I use the github and want to use the key to upload. I always find the #git push Permission denied (publickey). fatal: The remote end hung up unexpectedly Because I have not add the key #ssh-add -l Could not…
wcc526
  • 3,915
  • 2
  • 31
  • 29
73
votes
2 answers

How do I change my $PS1 on a Macbook for oh-my-zsh?

I'm trying to find the PS1 variable in oh-my-zsh and change it so iTerm doesn't look as clogged up. Running the following command: echo $PS1 gives me this %{%f%b%k%}$(build_prompt) Additionally, I've attempted to edit the .zshrc file and…
Daniel Dao
  • 830
  • 1
  • 7
  • 11
70
votes
8 answers

Zsh detects insecure completion-dependent directories

I get the following error messages when I open my terminal, Hyper: [oh-my-zsh] Insecure completion-dependent directories detected: drwxrwxr-x 7 dwaynethe2nd admin 224 Apr 25 15:00 /usr/local/share/zsh drwxrwxr-x 4 dwaynethe2nd admin 128 Apr…
MetalFingers
  • 715
  • 1
  • 5
  • 7
70
votes
4 answers

How to change zsh-autosuggestions color

I am new at zsh. I've installed the plugin zsh-autosuggestions in oh-my-zsh using instruction mentioned here. I am using Linux (Fedora 26). What my problem is I want to change the color of the text which comes in suggestion because the current one…
Vipin Yadav
  • 1,616
  • 1
  • 14
  • 23
67
votes
14 answers

Python crashing on MacOS 10.15 Beta (19A582a) with "/usr/lib/libcrypto.dylib"

I ran my Django project with new macOS Catalina and was running fine. I installed oh_my_zsh then I tried to run the same project it is crashing with the following errors. I uninstalled oh_my_zsh and tried again but it did not worked. Path: …
Faisal Manzer
  • 2,089
  • 3
  • 14
  • 34
65
votes
17 answers

virtualenv name not show in zsh prompt

Recently, I give a try on oh my zsh, everything looks good till I try virtualevn and virtualenvwrapper. When I activate a virtualenv (e.g test), on normal bash, I will see the virtualenv name like: (test)abc@abc: But when I switched to zsh, I…
OhMyGosh
  • 1,579
  • 4
  • 18
  • 31
65
votes
4 answers

zsh theme for full path + display git changes

I'm looking for theme to display a full path + git (branch name + uncommitted changes + added files). Didn't find any. something like this: /full/path/to/repo (master *+) would love a recommendation of one / a tip of how to edit an existing one (I…
Ohad Perry
  • 1,315
  • 2
  • 15
  • 26
65
votes
3 answers

Have zsh return case-insensitive auto-complete matches, but prefer exact matches

I am using zsh with oh-my-zsh's rc file and there is some behavior I find particularly annoying. By default, oh-my-zsh is configured to return case-insensitive matches when auto-completing. This behavior is sometimes good, but other times it really…
Max
  • 15,157
  • 17
  • 82
  • 127
62
votes
23 answers

Command not found - Oh-My-Zsh

I recently installed zsh and oh-my-zsh in my Mac. Now when I try to run a maven command from the terminal, I am getting the following error. $ mvn install zsh: command not found: mvn I have installed Apache maven in /Applications directory.…
Pattu
  • 3,481
  • 8
  • 32
  • 41
1
2 3
63 64