From 1c8d9e6e819e98e1a6981867f5a63f2b2ce735bc Mon Sep 17 00:00:00 2001 From: salt Date: Thu, 31 Aug 2017 22:50:47 +0000 Subject: [PATCH] Bash: Create a hacky workaround flag --- .bin/.bashrc-global | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.bin/.bashrc-global b/.bin/.bashrc-global index 22e856ed..08ea6da8 100644 --- a/.bin/.bashrc-global +++ b/.bin/.bashrc-global @@ -6,6 +6,12 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return +# Sometimes you can't change your shell. Sometimes you have to implement hacky +# workarounds +if [ -f ~/.bash-to-zsh ]; then + exec zsh +fi + # Source /etc/profile source /etc/profile