-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
For aliases with $* in them, bash will accept the alias. fish complains because these aren't valid in fish. bass should convert these to an acceptable form for fish. Test case:
test.sh:
alias testing='ls $*' -l
$ source test.sh
$ testing .. <Ctrl-Alt-e>
$ ls -l ..
> bass -d source test.sh
alias "testing"='ls $* -l'- (line 1): $* is not supported. In fish, please use $argv.
function testing --wraps 'ls $* -l' --description 'alias testing=ls $* -l'; ls $* -l $argv; end
...
I believe bash is just silently dropping the $*, although I don't have a lot of experience of bash.
Unfortunately this is in some scripts that I can't change, otherwise I'd just alter the original bash script.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels