From 92077b75bc74808555cdd19c995d7dfef51dafe4 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Tue, 22 Oct 2024 19:15:06 +0200 Subject: [PATCH] zprofile: Set TERMINAL=st This is used by xdg-open and similar. --- .config/zsh/.zprofile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 1765ea7..846b748 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -64,6 +64,11 @@ if (( $+commands[ssh-agent] )) && [[ ! $SSH_AGENT_PID ]]; then LAUNCHED_SSH_AGENT=1 fi +# Terminal +if (( $+commands[st] )); then + export TERMINAL=st +fi + # Editor if (( $+commands[nvim] )); then export EDITOR=nvim