Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG]Filename autocompletion using git-bare repos (--git-dir=... --work-tree=...)
- X-seq: zsh-workers 52133
- From: eliasghafari <eliasghafari@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [BUG]Filename autocompletion using git-bare repos (--git-dir=... --work-tree=...)
- Date: Tue, 12 Sep 2023 11:54:03 +0300
- Archived-at: <https://zsh.org/workers/52133>
- List-id: <zsh-workers.zsh.org>
After using <C-x ?> instead of <Tab> (Thanks Bart) and looking at the output I found
that:
alias config='git --git-dir ~/.local/share/dotfiles --work-tree ~'
works perfectly.
And Jun T's solution of:
alias config="git --git-dir=$HOME/.local/share/dotfiles --work-tree $HOME"
Also works I never knew that there was a difference between ' and ".
Thanks for the help.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author