Closed ragu-manjegowda closed 6 months ago
Thanks for the amazing work!
I want to use this with the dotfiles for which I have and alias config which runs git with preset git-dir and work-tree.
config
I am looking for options to somehow use this program with dotfiles.
I can think of passing GIT_COMMAND to the functions and have another key bind say ALT-G{KEY}.
GIT_COMMAND
ALT-G{KEY}
Let me know your thoughts.
Nevermind, I was able to get this with custom functions shown in README.
cgch() { GIT_DIR="$HOME/your_git_dir" WORK_TREE="$HOME" _fzf_git_hashes }
Closing.
Thanks for the amazing work!
I want to use this with the dotfiles for which I have and alias
config
which runs git with preset git-dir and work-tree.I am looking for options to somehow use this program with dotfiles.
I can think of passing
GIT_COMMAND
to the functions and have another key bind sayALT-G{KEY}
.Let me know your thoughts.