This commit is contained in:
Shelvacu
2025-06-13 13:13:12 -07:00
committed by Shelvacu on nix-on-droid
parent 9da16179a8
commit 3395ae83ce

11
common/shell/tweaks.nix Normal file
View File

@@ -0,0 +1,11 @@
{ ... }:
{
config.vacu.shell.idempotentShellLines = ''
if [[ $- == *i* ]]; then
# don't overwrite files by default when using > redirection
set -o noclobber
# disable ! history expansion
set +o histexpand
fi
'';
}