fancy-git
fancy-git copied to clipboard
fancygit: command not found
After cloning fancy-git into my home-directory, neither from there nor from within the parent-directory of ~/.fancy-git the commands work.
How can I resolve this issue?
Examples:
andylu@hd1pcms0347:/mnt/c/Users/andreas.luckert/.fancy-git$ fancygit -h
fancygit: command not found
andylu@hd1pcms0347:/mnt/c/Users/andreas.luckert/.fancy-git$ cd ..
andylu@hd1pcms0347:/mnt/c/Users/andreas.luckert$ fancygit -h
fancygit: command not found
Hi, @AndreasLuckert
Could you please post the last 10 lines of the ~/.bashrc file?
It seems the fancy git completion isn't working as expected for you. I'd like to understand how the installation has been done.
Did you install it in a specific directory?
. ~/.fancy-git/prompt.sh
. ~/.fancy-git/prompt.sh
. ~/.fancy-git/prompt.sh
@AndreasLuckert and @superboo0311
I'll be releasing a new fancygit version on next few days. Please, let me know if this problem is still happening after the new version.
I think I have quite the same problem.
I tried to fancygit --config-reset and get that:
sh: 0: Can't open /home/flo/.fancy-git/commands.sh bash: /home/flo/.fancy-git/config.sh: No such file or directory
I'm running on v7
Hi, @Flo-Nz ,
please, run these commands and paste the outputs here...
ls -l ~/.fancy-git/
and
tail ~/.bashrc
I'm sorry everything is fine now. I simply didn't run the install in ~ but in a subfolder. After reinstalling it correctly everything is OK now.
@Flo-Nz that's awesome! I hope you enjoy FancyGit so :)
hi @diogocavilha i still have problem with the install i have m1 mac
Hi @superboo0311.
Please, paste the last ten lines of your ~/.bash_profile file here.
Hi @diogocavilha , I also have the same issue as @AndreasLuckert . Here are the lines of my bash script
export PATH
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
. ~/.fancy-git/prompt.sh
I then write in my home/<username> directory
fancygit --fonts-install
I get
-bash: fancygit: command not found
Nevermind. It worked after rebooting the terminal 2-3 times