zsh: remove rm and mv confirmations
This commit is contained in:
parent
8d89f828b6
commit
1fea9618ba
|
@ -22,6 +22,9 @@
|
||||||
# see for an example: <https://filipe.kiss.ink/zmv-zsh-rename/>
|
# see for an example: <https://filipe.kiss.ink/zmv-zsh-rename/>
|
||||||
autoload -Uz zmv
|
autoload -Uz zmv
|
||||||
|
|
||||||
|
# disable `rm *` confirmations
|
||||||
|
setopt rmstarsilent
|
||||||
|
|
||||||
function nd() {
|
function nd() {
|
||||||
mkdir -p "$1";
|
mkdir -p "$1";
|
||||||
pushd "$1";
|
pushd "$1";
|
||||||
|
@ -44,9 +47,8 @@
|
||||||
"prompt"
|
"prompt"
|
||||||
"git"
|
"git"
|
||||||
];
|
];
|
||||||
prompt = {
|
prompt.theme = "powerlevel10k";
|
||||||
theme = "powerlevel10k";
|
utility.safeOps = false; # disable `mv` confirmation (and supposedly `rm`, too)
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user