Closed AskAlice closed 2 months ago
perhaps instead of checking if /bin/zsh or /bin/bash is the $SHELL, perhaps check if $SHELL === $(which zsh) || $(which bash) as my zsh is at /usr/bin/zsh on arch linux
$SHELL
$(which zsh)
$(which bash)
/usr/bin/zsh
or just .find("bash") / .find("zsh") on the shell var
perhaps instead of checking if /bin/zsh or /bin/bash is the $SHELL, perhaps check if
$SHELL
===$(which zsh)
||$(which bash)
as my zsh is at/usr/bin/zsh
on arch linuxor just .find("bash") / .find("zsh") on the shell var