Skip to content

--wraps is duplicated when alias is modified #8395

Description

@EmilyGraceSeville7cf

Fish version: 3.3.0 (built from source)
OS version: Linux Mint 20.2 Cinnamon

When I create alias with the same name (modify) again --wraps option for corresponding function is duplicated:

> alias --save sedr 'sed -r'
> functions sedr
# Defined via `source`
function sedr --wraps='sed -r' --description 'alias sedr sed -r'
  sed -r $argv; 
end
> alias --save sedr 'sed -rn'
> functions sedr
# Defined via `source`
function sedr --wraps='sed -r' --wraps='sed -rn' --description 'alias sedr sed -rn'
  sed -rn $argv; 
end

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions