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
55
votes
12 answers

ZSH Agnoster Theme showing machine name

I have a development server hosted on Digital Ocean, using Ubuntu 14.04. I switched my shell to ZSH and decided to go with the Agnoster theme. In order to get user@hostname to stop showing, I set the DEFAULT_USER in my .zshrc file. For some reason…
Drew
  • 6,736
  • 17
  • 64
  • 96
54
votes
8 answers

Zsh Docker Plugin not Working

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…
Mikhail D'Souza
  • 583
  • 1
  • 4
  • 9
54
votes
4 answers

WARNING: this script is deprecated, please see git-completion.zsh

I'm using oh-my-zsh and I get this error every time I open terminal: WARNING: this script is deprecated, please see git-completion.zsh is there any solution to that?
zianwar
  • 3,642
  • 3
  • 28
  • 37
51
votes
5 answers

aws cli output automatically being sent to vi

I am learning the AWS CLI (v2) and have installed it on Ubuntu 18.04. I am running zsh with oh-my-zsh installed. I am trying to get aws command output to be reported back to the terminal as a JSON string (or even as text), but the output is always…
moulder
  • 1,857
  • 2
  • 12
  • 8
51
votes
4 answers

Adding timestamp to each line on Zsh

I just fresh installed Sierra and wanted to use zsh with oh-my-zsh and power shell... I ended up with a terminal like this: But I want to add a timestamp to every output. Semething linke: [14:23] acytryn ~ Projects % Is there a way to do this with…
Andre Cytryn
  • 2,506
  • 4
  • 28
  • 43
44
votes
6 answers

Remnant characters when tab completing with ZSH

I'm using oh-my-zsh in Arch linux with the robbyrussell theme loaded. When I try to tab complete I end up with remnant characters appended to the prompt. If I delete the auto-completed characters, the remnant characters do not delete. For example,…
43
votes
2 answers

git log/show etc. replaces the terminal screen

I recently started to use zsh (oh-my-zsh, without customizations) on iTerm2. But, I'm having a trouble in git log or git show. Previously, for example, the git log results were just a part of the terminal, just like ls -l result. After quitting git…
Nullptr
  • 3,103
  • 4
  • 27
  • 28
43
votes
8 answers

Received Warning message "Path set to RVM" after updating ruby version using rvm

Recently I tried to update my ruby version due to a warning message (see below). Now I get the following warning message when I start my iterm2: Warning: PATH set to RVM ruby but GEM_HOME and/or GEM_PATH not set, see: …
echo
  • 900
  • 1
  • 9
  • 17
40
votes
5 answers

How do you determine which theme you are on when ZSH_THEME="random"

I found a theme I like but only after executing a program on the command line with a lot of output, so I don't know the name of the current theme! Here is the relevant part of my .zshrc: # Set name of the theme to load. ... ZSH_THEME="random" Is…
Naruto Sempai
  • 6,233
  • 8
  • 35
  • 51
38
votes
6 answers

Add newline to Oh My ZSH Theme

I'm trying to add a newline to my existing Oh My ZSH theme but can't figure out what to add or where it should be added / changed. Any ideas?
Andrew Connell
  • 4,939
  • 5
  • 30
  • 42
36
votes
1 answer

Difference between iTerm2, zsh and oh-my-zsh

I have been using the default bash of linux for over 1 year and one of colleague recommended me switch over to using iTerm2 alongwith zsh and oh-my-zsh. He also recommended this post to install and configure those…
Pawan Saxena
  • 521
  • 1
  • 4
  • 14
36
votes
11 answers

Upgrading Oh My Zsh gives me 'not a git repository' error

Since I upgrade my OSX to El Capitan when I want to update Oh My Zsh upgrade_oh_my_zsh I got the following error: Upgrading Oh My Zsh fatal: Not a git repository (or any of the parent directories): .git There was an error updating. Try again…
Peter
  • 1,240
  • 2
  • 13
  • 22
34
votes
6 answers

How do I reset and put the zshrc file back to default?

/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 Ello-MacBook-Pro% /Users/ello/.zshrc zsh: permission…
HooWoo
  • 443
  • 1
  • 4
  • 7
34
votes
2 answers

Oh My Zsh multiple commands with one alias

I'm using Oh My Zsh, and was wondering if there is a way to create a function or alias to run multiple commands. Just as an example, running an 'update' command will update specific gems, but not all of them.
snakesonatoni
  • 343
  • 1
  • 3
  • 4
33
votes
6 answers

The git (or python) command requires the command line developer tools

This knowledge post isn't a duplication of other similar ones, since it's related to 12/September/2022 Xcode update, which demands a different kind of solution I have come to my computer today and discovered that nothing runs on my terminal Every…
neoswf
  • 4,730
  • 6
  • 39
  • 59
1
2
3
63 64