aboutsummaryrefslogtreecommitdiff
path: root/shell_only.sh
diff options
context:
space:
mode:
Diffstat (limited to 'shell_only.sh')
-rwxr-xr-xshell_only.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/shell_only.sh b/shell_only.sh
index a5ff636..2411b8c 100755
--- a/shell_only.sh
+++ b/shell_only.sh
@@ -118,22 +118,25 @@ else
exit 1
fi
-rm -rf ~/.oh-my-zsh/
-sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
-
ln -sf ${PWD}/bin ~/bin
-mkdir -p ~/
+mkdir -p ~
ln -sf ${PWD}/zshrc ~/.zshrc
ln -sf ${PWD}/zsh_aliases ~/.zsh_aliases
+ln -sf ${PWD}/himbeer.zsh ~/.zshtheme.zsh
ln -sf ${PWD}/fzf_key_bindings.zsh ~/.zsh_fzf_key_bindings
ln -sf ${PWD}/fzf_completion.zsh ~/.zsh_fzf_completion
+
+mkdir -p ~/.zprompts
+ln -sf ${PWD}/himbeer.zsh ~/.zprompts/himbeer.zsh
+
+mkdir -p ~/.zplugins
+ln -sf ${PWD}/git.zsh ~/.zplugins/00_git.zsh
+ln -sf ${PWD}/git.plugin.zsh ~/.zplugins/git.plugin.zsh
+
ln -sf ${PWD}/tmux.conf ~/.tmux.conf
ln -sf ${PWD}/vimrc ~/.vimrc
-mkdir -p ~/.oh-my-zsh/
-ln -sf ${PWD}/himbeer.zsh-theme ~/.oh-my-zsh/themes/himbeer.zsh-theme
-
if called_directly; then
echo -e "\e[1m\e[1;32mShell setup has been successfully installed!"
echo -e "\e[1m\e[1;32mIf you wish to make zsh your default shell:"