fix(shell): change how shell detection works

This commit is contained in:
2023-09-29 15:52:16 +03:00
parent dfb7a51786
commit 4b45c89a90
6 changed files with 34 additions and 29 deletions

View File

@@ -5,6 +5,10 @@
# Helper env variables. Use like this: VERBOSE=1 ./script.sh
: "${VERBOSE:=0}"
: "${DOTFILES:=$HOME/.dotfiles}"
DOTFILES_CURRENT_SHELL=$(ps -p $$ -oargs=)
export DOTFILES_CURRENT_SHELL
source "$DOTFILES/local/bin/msgr"