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.
For aliases with
$*in them, bash will accept the alias.fishcomplains because these aren't valid infish.bassshould convert these to an acceptable form forfish. Test case:I believe
bashis just silently dropping the$*, although I don't have a lot of experience ofbash.Unfortunately this is in some scripts that I can't change, otherwise I'd just alter the original bash script.