You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another minor issue, in bash and zsh, I can use alias xxx to get alias definition, could fish support this too? Currently I have to use alias | string match “alias xxx *”.
$ alias
alias cp 'cp -i'
...
$ functions cp
# Defined in /Users/liuyb/.config/fish/functions/cp.fish @ line 2
function cp --description 'alias cp cp -i'
command cp -i $argv;
end
$ function xxx --description 'alias xxx yyy'; echo yyy; end
$ alias | grep xxx
alias xxx yyy
It's inconvenient to parse the output of functions cp for "cp -i", so I would like to have an alias cp that just outputs single alias definition in single line.
faho
changed the title
wrong alias definition when command contains "+"
wrong alias definition when command contains a metacharacter (like "+" or backslash)
Jun 17, 2023
fish 3.3.1, macOS Monterey, 12.0.1
The text was updated successfully, but these errors were encountered: