Skip to content

Sourcing alias from .bashrc for rm -rf #1960

Answered by 0xACE
kenderipa asked this question in Q&A
Discussion options

You must be logged in to vote

I dont use the trash functionality, so I can't tell what behavior you are expecting

but basically you would probably get away by replacing sed 's/"rm\b/"rmw/g' nnn.c if your rmw supports the same flags as rm after that just run git diff and process each line for potential issues.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kenderipa
Comment options

@kenderipa
Comment options

@0xACE
Comment options

0xACE Nov 27, 2024
Collaborator

Answer selected by kenderipa
@N-R-K
Comment options

N-R-K Nov 29, 2024
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants