From 51495f158df590cc30d0606073f52daaf237daa2 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Mon, 7 Oct 2024 11:59:07 +0200 Subject: [PATCH] bash: do a better 'bash is running' check --- dotfiles/.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.profile b/dotfiles/.profile index c7cffbd..52e7f30 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -1,7 +1,7 @@ # vim: set ft=sh: [ -f $HOME/.environ ] && source $HOME/.environ -[ $BASH == "/usr/bin/bash" ] && source $HOME/.bashrc +[ -n "$BASH_VERSION" ] && source $HOME/.bashrc MOZ_ENABLE_WAYLAND=1 XDG_CURRENT_DESKTOP=sway