shell: always launch zsh unless bash is explicitly launched
This commit is contained in:
parent
706ed31198
commit
94edd4b09b
2 changed files with 4 additions and 2 deletions
|
@ -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
2
.zshrc
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue