oh-my-zsh

Command not found - Oh-My-Zsh

喜欢而已 提交于 2019-12-03 11:04:41
问题 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. Currently my .zshrc file looks like below. plugins=(git brew pip mvn mysql-macports python sublime tmux osx) # #################### # Maven Config Options # #################### export M2_HOME=/Applications/apache-maven-3.3.3 export PATH=$PATH:M2_HOME/bin

oh my zsh showing weird character '?' on terminal

只愿长相守 提交于 2019-12-03 10:52:32
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. Can can anyone help me with this? Installing a powerline patched font will solve this. This official documentation provides description about installing poweline fonts. There are two ways to enable powerline patched font in iTerm2. Set a powerline patched font as default. Set a powerline patched font for only Non-ASCII characters and use another font

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

笑着哭i 提交于 2019-12-03 06:28:58
问题 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: /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: 3.7.4 (3.7.4) Code Type: X86-64 (Native) Parent Process: Python [7526] Responsible: Terminal [7510] User ID: 501

Command not found - Oh-My-Zsh

十年热恋 提交于 2019-12-03 02:49:58
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. Currently my .zshrc file looks like below. plugins=(git brew pip mvn mysql-macports python sublime tmux osx) # #################### # Maven Config Options # #################### export M2_HOME=/Applications/apache-maven-3.3.3 export PATH=$PATH:M2_HOME/bin As seen above, I appended location of maven installation to the path. But I am still getting errors.

Remnant characters when tab completing with ZSH

那年仲夏 提交于 2019-12-03 02:40:25
问题 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, if I type in: ~ /etc then tab, it turns to ~ /e/etc/ with a list of options below. Even if I delete /etc/ , the /e remains and I'm stuck with: ~ /e I can't delete the /e . I have to execute a command to get rid of the remnant character. Any idea

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

三世轮回 提交于 2019-12-03 00:39:39
问题 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: https://github.com/wayneeseguin/rvm/issues/3212 Does anyone know how to resolve this warning? It hasn't really impacted my work but it is a little unsettling. for your information: 1. I believed I ran rvm get stable to get the latest ruby version. 2. this is the warning message

Remnant characters when tab completing with ZSH

最后都变了- 提交于 2019-12-02 16:14:31
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, if I type in: ~ /etc then tab, it turns to ~ /e/etc/ with a list of options below. Even if I delete /etc/ , the /e remains and I'm stuck with: ~ /e I can't delete the /e . I have to execute a command to get rid of the remnant character. Any idea what is going on here? corbacho It seems I had issues with locale configuration and non UTF8 configuration

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

白昼怎懂夜的黑 提交于 2019-12-02 16:05:02
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: https://github.com/wayneeseguin/rvm/issues/3212 Does anyone know how to resolve this warning? It hasn't really impacted my work but it is a little unsettling. for your information: 1. I believed I ran rvm get stable to get the latest ruby version. 2. this is the warning message I was initially trying to resolve but it has not been resolved either: warning: parser/current is

Alt+number+dot and Alt+comma in Zsh and Bash

久未见 提交于 2019-12-01 05:18:08
In Bash, we can use Alt + number + . to select the n th argument of previous commands, and Alt + , to select the previous commands. They cycles through the history. For example: $ ls 1 2 $ echo 10 20 Now press and hold Alt, and press 0 then dot, it will show "echo". Without releasing Alt , press . again, it will show "ls". Use 1 in the same operation will show 10 and 1, etc. Pressing Alt and comma shows the whole command line in the history. Also Alt and . show the last argument of the commands in history. Note that all of these operations just insert the argument (or whole command line) to

Alt+number+dot and Alt+comma in Zsh and Bash

你说的曾经没有我的故事 提交于 2019-12-01 02:51:20
问题 In Bash, we can use Alt + number + . to select the n th argument of previous commands, and Alt + , to select the previous commands. They cycles through the history. For example: $ ls 1 2 $ echo 10 20 Now press and hold Alt, and press 0 then dot, it will show "echo". Without releasing Alt , press . again, it will show "ls". Use 1 in the same operation will show 10 and 1, etc. Pressing Alt and comma shows the whole command line in the history. Also Alt and . show the last argument of the