-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Support .zshenv #134
Comments
I use the same setup and Zap works like a charm. The problem here could be that your zshrc file haven't the |
I was looking through your |
Just to clarify, my My file does have the $ cat .zshenv
export ZDOTDIR="$HOME/.config/zsh"
$ ls -al "$HOME/.config/zsh/"
total 2376
drwxr-xr-x 18 gonzo staff 576B Apr 30 16:53 ./
drwxr-xr-x 4 gonzo staff 128B Jan 26 11:13 ../
drwx------@ 3 gonzo staff 96B Jan 3 14:08 .zcompcache/
-rw-r--r--@ 1 gonzo staff 48K Mar 28 13:24 .zcompdump
-rw-------@ 1 gonzo staff 146B Apr 4 17:51 .zsh_history
drwx------ 5 gonzo staff 160B Apr 4 17:51 .zsh_sessions/
-rw-r--r--@ 1 gonzo staff 355B Dec 2 08:59 .zshrc
...
` |
Was the issue experienced during the install or afterwards? |
I recommend you to follow issue template for issues like that, anyway:
|
The install seems to happen correctly, but zap doesn't work afterwards: $ zsh <(curl -s https://raw.githubusercontent.com/zap-zsh/zap/master/install.zsh) --branch release-v1
Zap is already installed in '/Users/gonzo/.local/share/zap'!
Reinstall Zap? [y/N] y
Reinstalling Zap...
Moved .zshrc to .zshrc_2023-05-03_1683119075
Zapped
Find more plugins at http://zapzsh.org
⚡ Zap installed zsh-autosuggestions
⚡ Zap installed supercharge
⚡ Zap installed zap-prompt
⚡ Zap installed zsh-syntax-highlighting
⚡ 15:04 Wed 03/May gonzo@gonzo-mbp ~
$
⚡ 15:04 Wed 03/May gonzo@gonzo-mbp ~
$ zap version
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
⚡ Zap v
Branch: release-v1
Commit: After installation, I can source |
Please do a rm -rf ~/.local/share/zap
zsh <(curl -s https://raw.githubusercontent.com/zap-zsh/zap/master/install.zsh) This will completely uninstall Zap and reinstall it but without pinning it to the specific branch, there where many changes in last day. Please try that version and let us know if it works |
PR #138 rectifies the issue with |
I tried that command, and got this error message:
I think that hapenned because this line:
is inside function |
Please retest @gonzus and if you see any further issues please reopen. |
All looking good, thanks! |
I don't have a
~/.zshrc
file, I have a~/.zshenv
file with this in it:so that all my zsh configuration files live in
~/.config/zsh
, including my.zshrc
. Zap does not seem to support this setup.The text was updated successfully, but these errors were encountered: