feat(zsh): add a simple timer to zle to test tmout

This commit is contained in:
Mohammad Rafiq 2025-05-21 12:29:53 +08:00
parent 5a86a04e37
commit eb3eea721d
No known key found for this signature in database

View file

@ -10,6 +10,18 @@
history.size = 10000;
history.ignoreDups = true;
history.ignoreSpace = true;
initContent =
lib.mkOrder 1200
# zsh
''
RPROMPT='[%D{%L:%M:%S %p}]'
TMOUT=1
TRAPALRM() {
zle reset-prompt
}
'';
};
};
}