Closed seblemaguer closed 3 years ago
Can you please reduce your test case above to the bare minimum needed to reproduce the problem?
sure here is the condensed version
# Load znap
export ZDOTDIR="$HOME/.znap"
ZNAPDIR="$ZDOTDIR/zsh-snap"
ZNAP_ZSH="$ZNAPDIR/znap.zsh"
if [ ! -d "$ZDOTDIR" ]; then
mkdir $ZDOTDIR
git clone --depth 1 -- https://github.com/marlonrichert/zsh-snap.git $ZNAPDIR
source $ZNAPDIR/install.zsh
fi
source $ZNAP_ZSH
znap source marlonrichert/zsh-autocomplete
Can you please include the actual steps needed to reproduce the problem?
~/.zshrc
~/.znap
tmux
export ZDOTDIR="$HOME/.znap"
That tells Zsh to look for your dotfiles in ~/.znap
. However:
- I put the content of previous post in my
~/.zshrc
When your start tmux
, it starts a new zsh
session, which then sees your $ZDOTDIR
in the environment and thus looks for your dotfiles in ~/.znap
, but doesn't find any there.
Why are you setting $ZDOTDIR
in the first place, if you keep your .zshrc
file in $HOME
anyway?
ah yes. Sorry, I was not even seeing it. Thanks for the reply, that solved it :)
Hello,
and thanks for this nice tool :)
I am facing an issue in regard to the integration of znap/zshrc and screen. I have the following zshrc
When I open a terminal (xterm, gnome-terminal, wezterm), everything works fine. When I open tmux or vterm (in emacs), it looks like that none of the configuration is loaded. Indeed prompt is the default one and completion mechanism raise the following error
Do you have an idea where I should start to have a look ?
Thanks