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

NTH: aliases disabler flag (or better documentation about aliases) #119

Closed
mbeorlegui opened this issue Mar 24, 2022 · 5 comments
Closed

Comments

@mbeorlegui
Copy link

mbeorlegui commented Mar 24, 2022

I alredy have my bash aliases, but the config with this beautiful prompt changer are stepped on...

So my proposal is todo a flag (something like --toggle-aliases, or --enable-aliases and --disable-aliases) for the people like me who enjoy this tool, but alredy have his own aliases.

Or just explain in the documentation how to edit this aliases, cause I couldn't find it.

Thanks for reading :)

@mbeorlegui
Copy link
Author

Checking the code I find out that the aliases are in .fancy-git/aliases, but there's no good documentation about it.

@diogocavilha
Copy link
Owner

Hi, @mbeorlegui

Oh! You have a good point here! Thank you for that. I'll improve the docs about aliases.
But please, let me know if you've already solved the problem.

@mbeorlegui
Copy link
Author

Yeah, I solved it deleting some lines of the aliases files, but it had to do reverse engineering haha.
Thank you very much!

@diogocavilha
Copy link
Owner

I see. Indeed, if you have some aliases with the same name as FancyGit does, yours will be replaced by the the ones of FancyGit, once it is loaded last.

The other solution is to load fancygit prompt before loading your .bash_aliases, on your .bashrc file.

@mbeorlegui
Copy link
Author

Yeah, that's a good idea too.

I'll close the issue. Thank you very much!

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

2 participants