diff --git a/nixos/layers/zsh.nix b/nixos/layers/zsh.nix index 6a3a8c646dc7714dd41140490a09e320d6693246..979adc4ffb88bbbd59eef67cf15c5a7b7c368391 100644 --- a/nixos/layers/zsh.nix +++ b/nixos/layers/zsh.nix @@ -26,7 +26,8 @@ fi environment.shellAliases = { # 'root' gives a proper root login session - root = "machinectl shell root@"; + #root = "machinectl shell root@"; + root = "sudo su"; ls = "ls --color=auto"; l = "ls -l"; @@ -77,6 +78,10 @@ then alias icat="kitty +kitten icat" fi +# "The time the shell waits, in hundredths of seconds, for another key to be pressed when reading bound multi-character sequences." +# This is for vim-style multi-letter commands (<f><d> is mapped to <Esc>) +KEYTIMEOUT=10 + HISTSIZE=100000 SAVEHIST=100000 @@ -200,4 +205,4 @@ man() { command man "$@" } ''; -} \ No newline at end of file +}