Skip to content

delete-dir-force gives bad suggestion if space in filename #62

@tomasohara

Description

@tomasohara

The delete-dir-force alias should quote filenames in suggestions:

$ ls foo\ bar/
it.txt

$ delete-dir-force 'foo bar'
Warning: run enable-forced-deletions or issue: command rm -rfv foo bar

$ rm -rfv foo bar

$ ls -R
.:
'foo bar'

'./foo bar':
it.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions