zsh.sh | zsh deploy script by a lazy man | Command Line Interface library
kandi X-RAY | zsh.sh Summary
kandi X-RAY | zsh.sh Summary
PS: you need execute bash zsh.sh && source ${ZDOTDIR:-$HOME}/.zshrc by twice.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of zsh.sh
zsh.sh Key Features
zsh.sh Examples and Code Snippets
docker pull iofu728/zsh.sh.ubuntu
docker run -it -d --name zsh_ubuntu iofu728/zsh.sh.ubuntu
docker exec -it zsh_ubuntu /bin/zsh
vim +'PlugInstall --sync' +qall &> /dev/null < /dev/tty
docker pull iofu728/zsh.sh.ubuntu32
docker run -it -d -
wget https://raw.github.com/iofu728/zsh.sh/master/zsh.sh
bash zsh.sh && source ${ZDOTDIR:-$HOME}/.zshrc
bash zsh.sh && source ${ZDOTDIR:-$HOME}/.zshrc
Community Discussions
Trending Discussions on zsh.sh
QUESTION
This is my full .zshrc:
...ANSWER
Answered 2021-Jun-02 at 07:14plugins
is an array used by $ZSH/oh-my-zsh.sh
. You need to initialize the former before calling the latter. Just initializing plugins
by itself doesn't do anything in Zsh (apart from creating a plain old array).
zsh-syntax-highlighting
and zsh-autosuggestions
mention explicitly in their documentation that they should be sourced after any other plugins.
Finally, if you're going to manually source
a plugin, then you do not need to add it to Oh-My-Zsh's plugins
array.
So, therefore, for your setup, this is the correct way to do things:
QUESTION
a simple summary is in the title but to further explain:
Whenever i open my terminal (iterm2) i load into zsh but completions don't seem to work, then when i manually run source .zshrc
it does fully load. I've tried moving stuff around in my .zshrc file to see if the order of loading was incorrect but it didn't fix anything.
My .zshrc file:
...ANSWER
Answered 2021-May-11 at 10:39You're making two mistakes in your .zshrc
file:
- If you do
source $ZSH/oh-my-zsh.sh
, then you shouldn't also doautoload -U compinit && compinit
, because the former includes the latter. plugins=( ... )
should be done before doingsource $ZSH/oh-my-zsh.sh
. The former does not do anything by itself.
So, change the top of your .zshrc
file to this:
QUESTION
i've uninstalled ohmyzsh and now everytime i start my termial it says this:
...ANSWER
Answered 2021-Feb-13 at 06:21- open .zshrc If you can't find find .zshrc, then type "ls -a" in terminal to get hidden files
- After opening .zshrc file, comment the line 75 by appending "#"
QUESTION
I have a MacBook with Iterm2 with Zshell (zsh) and one of the add-ons I have is the command line fuzzy finder (fzf), but despite being added to my .zshrc it doesn't work. If I manually load it with source ~/.fzf.zsh
it works, and if I then reload my .zshrc source ~/.zshrc
it doesn't work again.
What could be the reason?
Here's most of my .zshrc file (see the line: # add fuzzy find):
...ANSWER
Answered 2021-Jan-22 at 13:46Something you do in .zshrc
following source ~/.fzf.zsh
breaks it. Make sure ~/.fzf.zsh
occurs after that, most easily accomplished by moving it to the end of the file.
QUESTION
I am trying to log each time my shell sources a file. I am using zsh, so I went into zshenv and added this function.
...ANSWER
Answered 2021-Jan-12 at 21:17command
is intended to specifically invoke external commands. For example if you have an alias or function for git
, command git
will bypass those.
You're looking for the builtin
command to limit command lookup to only builtin commands.
QUESTION
Why is that, and how do I get all my terminal commands back?
I can't run jupyter notebook
, although I was able to open Anaconda as an application and get into it that way.
Does it have something to do with my PATH? I don't know how to get my terminal commands back, please help. I'm loving iTerm2 and OhMyZsh.
This might help: ~/.zshrc :
...ANSWER
Answered 2020-Sep-06 at 04:51I was facing a similar issue. I was able to apply the workaround and later on, Jupyter notebook worked as expected.
Alternatively, you can check the path variables as well.
QUESTION
I honestly don't remember what I last installed on my machine, I believe it was brewing gatsby-cli. Anyway, since yesterday morning my terminal has been giving me the following error when I open a new instance or reset the terminal (open a new tab, source ~/.zshrc, etc).
...ANSWER
Answered 2020-Nov-23 at 21:45Try removing the npx plugin from plugins=(...)
in .zshrc. I had the same problem and that solved it for me.
QUESTION
I have Ubuntu installed through WSL2 and I also am using zsh as my shell with oh my zsh installed. I am trying to change the default ls colours by adding export LSCOLORS=ExFxBxDxBxegedabagacad
in my .zshrc, but it doesn't change any of the default ls colours. I made sure to source the .zshrc file and restarted my terminal as well, but it didn't do anything. In addition, the export LSCOLORS
line is below this line: source $ZSH/oh-my-zsh.sh
. Is it possible that oh my zsh is overriding the ls colors that I set?
ANSWER
Answered 2020-Oct-26 at 16:56Put the LS_COLORS
export in your ~.zshrc file
not oh-my-zsh.sh
. So it would look something like this:
QUESTION
Here is what I get when I try to import it
...ANSWER
Answered 2020-Oct-06 at 13:22I have encountered the exact same issue while trying to import pandas
(which requires numpy
). Basically Python 3.9 isn't playing nicely with numpy
on macOS for some very odd reason. Downgraded to Python 3.8 and everything works perfectly: https://www.python.org/downloads/release/python-386/.
QUESTION
I recently changed my shell to zsh.
After changing my sheel to zsh I tried to install ohmyzsh, it worked good. After that I deleted ohmyzsh after running the uninstall zsh command.
Now, whenever I open my terminal on my mac I get the following error -
/Users/shubh01/.zshrc:source:73: no such file or directory: /Users/shubh01/.oh-my-zsh/oh-my-zsh.sh
How do I remove this error message whenever I open my mac?
Below I have attached the file which I get after running the command open /Users/shubh01/.zshrc
on my mac.
ANSWER
Answered 2020-Aug-20 at 09:35When you uninstall ohmyzsh, the uninstall process can't guess and remove the now faulty line source $ZSH/oh-my-zsh.sh
.
So you can remove it or comment it out with #
in front.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install zsh.sh
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page