Skip to content

Commit

Permalink
Make sure "rm" is run as command and not as alias
Browse files Browse the repository at this point in the history
Make sure "rm" is run as command and not as alias. This is done so the terminal initialization doesn't hang in a prompt if "rm" is actually alias'd to "rm -i"
  • Loading branch information
hojerst committed Feb 5, 2021
1 parent 28e3543 commit d275169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh-abbr.zsh
Expand Up @@ -1107,7 +1107,7 @@ _abbr_job_push() {
'builtin' 'echo' "If you believe it reflects a abbr bug, please report it at https://github.com/olets/zsh-abbr/issues/new"
'builtin' 'echo'

rm $next_job_path &>/dev/null
'command' 'rm' $next_job_path &>/dev/null
}

function _abbr_job_push:wait_turn() {
Expand Down

0 comments on commit d275169

Please sign in to comment.