New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
... Where is the ZSH_CUSTOM folder located? #4865
Comments
By default, it is at If you want to use a different location, you can set |
|
One more thing... |
Any file ending in
|
Would be great to have this documented somewhere, it took me a while to find this issue, was naming it |
That's kind of inconvenient and a depart from the way that I want to put mine in The particular plugin I'm wanting to add is solarized-man. The thing is it's a git submodule (inside my dotfile manager yadm) so the '.zsh' file needs to actually be in a "solarized-man" directory inside the plugins directory external to ~/.oh-my-zsh as that is also a submodule, and you can't have a submodule in a submodule in the master git repository.
If there's some way to do this? Currently this doesn't work for me in my .zshrc # Would you like to use another custom folder than $ZSH/custom?
ZSH_CUSTOM=$HOME/.config/ohmyzsh/custom/plugins/
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git svn solarized-man) I am seeing 'Warning: plugin solarized-man not found' |
The ZSH_CUSTOM=$HOME/.config/ohmyzsh/custom |
Okay, if I have this in my zshrc: # Would you like to use another custom folder than $ZSH/custom?
ZSH_CUSTOM=$HOME/.config/ohmyzsh/custom ie:
The issue is my plugin isn't being detected in:
How might I go about allowing detection of this? |
Hmm. that didn't work for me, it seemed if I didn't specify the
|
The init script looks at Run |
The plugin not found error was resolved when I removed it from The plugin is only found if I have the symlink not in the plugins directory ie:
I've put the omz-debug.log (REDACTED) is up. What I am wondering is if I need to do what @apjanke suggested on IRC: 2019-03-25 21:26:56 apjanke tya99:
|
The debug log doesn't show the problem because you took out |
I'm on Linux, specifically Archlinux. Solarized is just the colorscheme. Seems to be working now. I did just update ohmyzsh. @@ -43,13 +43,13 @@ ZSH_THEME="risto"
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
-ZSH_CUSTOM=$HOME/.config/ohmyzsh/custom/
+ZSH_CUSTOM=$HOME/.config/ohmyzsh/custom
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
-plugins=(git svn)
+plugins=(git svn solarized-man) I could have sworn I tried this earlier and it didn't. No symlink needed either.
Thanks! |
Oh I saw something about Solaris in the log, I guess I confused it with the OMZ code. Glad it's working now! |
I created an `aliases.zsh` file in the `$ZSH_CUSTOM` directory (`~/.oh-my-zsh/custom` here) via @mcornella ohmyzsh/ohmyzsh#4865 (comment).
New to oh-my-zsh and zsh. I added an alias to a file $ZSH_CUSTOM/aliases.zsh i created, restarted my terminal, and the alias was not working. Alias was added as: Does anything need to be sourced manually, I thought this would work as a permanent alias? |
The equal sign needs to not have spaces around it. So: alias python="python3" |
Thank you! Problem solved. |
This is probably me just being a bonehead, but where can I find the ZSH_CUSTOM folder so I can put my custom aliases in there as instructed in the .zshrc file?
Thanks a lot! I love your shell!!
The text was updated successfully, but these errors were encountered: