From 45c2d1cab7d97d4d908bbc50d4dc22cc71ec8ee9 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 25 Dec 2023 01:23:47 +0100 Subject: Added some shields to shell initialization scripts. --- stow/rcs/.profile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'stow/rcs/.profile') diff --git a/stow/rcs/.profile b/stow/rcs/.profile index e58d10f..083ff4f 100644 --- a/stow/rcs/.profile +++ b/stow/rcs/.profile @@ -20,8 +20,10 @@ export XDG_DATA_HOME="$HOME/.local/share" [ -f "$XDG_CONFIG_HOME/rcs/device_vars" ] && . "$XDG_CONFIG_HOME/rcs/device_vars" # Login commands -sudo loadkeys es -sudo -n loadkeys "$XDG_CONFIG_HOME/ttymaps.kmap" +if tty | grep -Fq 'tty'; then + sudo loadkeys es + sudo -n loadkeys "$XDG_CONFIG_HOME/ttymaps.kmap" +fi [[ $(tty) = "/dev/tty6" ]] && setfont alt-8x8 xinitrc="" -- cgit v1.2.1