From de2fc2720666deb139642263f94565ccd31802bd Mon Sep 17 00:00:00 2001 From: Juni Kim Date: Thu, 2 Feb 2023 19:29:02 -0500 Subject: [PATCH] oh my zsh without running shell --- install_alpine.sh | 1 + install_fedora.sh | 1 + install_popos.sh | 1 + install_ubuntu.sh | 1 + 4 files changed, 4 insertions(+) diff --git a/install_alpine.sh b/install_alpine.sh index 2e63c85..c208d71 100755 --- a/install_alpine.sh +++ b/install_alpine.sh @@ -72,6 +72,7 @@ user_setup() { echo "Adding zsh and tmux configs" # zsh plugins doas apk add zsh tmux shellcheck fzf + export RUNZSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" # dotfiles diff --git a/install_fedora.sh b/install_fedora.sh index 3c17dc0..65993b2 100755 --- a/install_fedora.sh +++ b/install_fedora.sh @@ -54,6 +54,7 @@ dotfiles() { echo "Adding zsh and tmux configs" # zsh plugins sudo dnf install -y zsh + export RUNZSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" # dotfiles diff --git a/install_popos.sh b/install_popos.sh index 9c38c60..38bdeed 100755 --- a/install_popos.sh +++ b/install_popos.sh @@ -76,6 +76,7 @@ dotfiles() { echo "Adding zsh and tmux configs" # zsh plugins sudo apt install -y zsh tmux shellcheck fzf + export RUNZSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" # dotfiles diff --git a/install_ubuntu.sh b/install_ubuntu.sh index 42b3556..07eee91 100755 --- a/install_ubuntu.sh +++ b/install_ubuntu.sh @@ -87,6 +87,7 @@ dotfiles() { echo "Adding zsh and tmux configs" # zsh plugins sudo apt install -y zsh tmux shellcheck fzf + export RUNZSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" # dotfiles