Skip to content

Commit

Permalink
Check for zsh dir
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee committed Nov 21, 2024
1 parent 2065d33 commit bbfed36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/scripts/install-zsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PANUSER="${PANUSER:-panoptes}"
PANDIR="${PANDIR:-${HOME}/POCS}"

function install_zsh() {
if [ ! -d "$ZSH_CUSTOM" ]; then
if [ ! -d "$ZSH" ]; then
echo "Using zsh for a better shell experience."

sudo chsh --shell /usr/bin/zsh "${PANUSER}"
Expand Down

0 comments on commit bbfed36

Please sign in to comment.