stuff
This commit is contained in:

committed by
Shelvacu on nix-on-droid

parent
9da16179a8
commit
3395ae83ce
11
common/shell/tweaks.nix
Normal file
11
common/shell/tweaks.nix
Normal 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
|
||||
'';
|
||||
}
|
Reference in New Issue
Block a user