shell: always launch zsh unless bash is explicitly launched

This commit is contained in:
PowerUser64 2024-09-17 23:14:59 -07:00
parent 706ed31198
commit 94edd4b09b
2 changed files with 4 additions and 2 deletions

View file

@ -40,6 +40,8 @@ alias ffmpeg='ffmpeg -hide_banner'
alias glow='glow -p' # force Glow to preview with `less` if not in vim
alias juliai='julia -i ${XDG_CONFIG_HOME:-"$HOME/.config"}/julia/startup.jl'
alias bash='LAUNCH_ZSH=false bash'
# I hate it when I get ghost script instead of git status
alias gs='echo "you don'\''t $(tput sitm)really$(tput sgr0) want ghost script now, do you?"'

2
.zshrc
View file

@ -265,7 +265,7 @@ load_working_dir && cd - > /dev/null || true
# <<<
# <<<
export BASH_LAUNCH_ZSH=false
export LAUNCH_ZSH="${STAY_ZSH:-true}"
# Optionally source another zshrc
${SKIP_LOCAL_ZSHRC:-false} || careful_source "$SHELL_CONFIG_DIR/local/zshrc"