#alias:new bat e:bat fn bat [@_args]{ styles = [ --style -n --number -p --plain -pp ] has_style = $false for e $_args { if (has-value $styles $e) { has_style = true break } } @pargs = $@_args if (not $has_style) { @pargs = -p $@_args } e:bat $@pargs }