Skip to content
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

fancygit: command not found #101

Open
AndreasLuckert opened this issue Sep 27, 2021 · 11 comments
Open

fancygit: command not found #101

AndreasLuckert opened this issue Sep 27, 2021 · 11 comments

Comments

@AndreasLuckert
Copy link

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
@diogocavilha
Copy link
Owner

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?

@imtiendat0311
Copy link

. ~/.fancy-git/prompt.sh

. ~/.fancy-git/prompt.sh

. ~/.fancy-git/prompt.sh

@diogocavilha
Copy link
Owner

@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.

@Flo-Nz
Copy link

Flo-Nz commented Nov 15, 2021

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

@diogocavilha
Copy link
Owner

Hi, @Flo-Nz ,

please, run these commands and paste the outputs here...

ls -l ~/.fancy-git/

and

tail ~/.bashrc

@Flo-Nz
Copy link

Flo-Nz commented Nov 15, 2021

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.

@diogocavilha
Copy link
Owner

@Flo-Nz that's awesome!
I hope you enjoy FancyGit so :)

@imtiendat0311
Copy link

hi @diogocavilha i still have problem with the install i have m1 mac

@diogocavilha
Copy link
Owner

Hi @superboo0311.

Please, paste the last ten lines of your ~/.bash_profile file here.

@copperwiring
Copy link

copperwiring commented Nov 17, 2022

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

@copperwiring
Copy link

Nevermind. It worked after rebooting the terminal 2-3 times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants