Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Extra single quotes are getting stripped in webconfig #8917

Copy link
Copy link

Description

@YmirKhang
Issue body actions

Fish version 3.1.0
Ubuntu 20.04
xterm-256color

This issue can be reproduced regardless of third party customizations are added or not.

Whenever an abbreviation ending with a single quote is added via fish_config UI, the single quote at the end gets stripped. Even if the command is wrapped with one more layer of single quotes.

So setting the word _first to awk '{print $1'} actually executes the following command:

abbr --add '_first' 'awk \'{print $1}'

Also setting the work _first with another layer of single quotes: 'awk '{print $1'}', results in the execution of the same command:

abbr --add '_first' 'awk \'{print $1}'
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intendedSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.