diff --git a/rc/bashrc b/rc/bashrc index 7b0e93a7..da6469e9 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -591,6 +591,9 @@ alias apt-builddep="apt-rdepends --build-depends --follow=DEPENDS" # http://superuser.com/a/638033 - get embedded Windows key alias winkey="xxd /sys/firmware/acpi/tables/MSDM" +# Always exec startx so Ctrl-Alt-Backspace won't lead to unlocked TTY. +alias startx="exec \startx" + # Allow custom aliases to be put in .aliases or .bash_aliases . # .aliases diff --git a/rc/zshrc b/rc/zshrc index b8172eae..d278519a 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -589,6 +589,9 @@ alias apt-builddep="apt-rdepends --build-depends --follow=DEPENDS" # http://superuser.com/a/638033 - get embedded Windows key alias winkey="xxd /sys/firmware/acpi/tables/MSDM" +# Always exec startx so Ctrl-Alt-Backspace won't lead to unlocked TTY. +alias startx="exec \startx" + # Allow custom aliases to be put in .aliases or .zsh_aliases . # .aliases