-
Notifications
You must be signed in to change notification settings - Fork 70
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
Support aliases #21
Comments
@alexpearce great idea. Not sure when I will have time to add that. Patch welcome though :) |
I can see if it can work, for sure. Can you think of something that might make this a non-starter, or only applicable for certain aliases? I have a feeling I had something when I wrote the PR, but now I can't remember 😞 |
Is there any progress on this? I just found about bass and It's what I've been missing, but I wish my aliases script would work with fish |
Just added alias support. LMK if you run into issues:
|
I've come across bash scripts that define aliases, to shorten paths to executables for example, such as
Sourcing such a script with
bass
does not convert the bash alias to a fish one. This can be seen interactively:As far as I can tell,
bass
works by comparing the output of bash'senv
before and after running the command passed tobass
, so any aliases defined won't be captured.bass
could additionally compare the output of bash'salias
, which prints all defined aliases.The text was updated successfully, but these errors were encountered: