diff --git a/configs/.zshrc b/configs/.zshrc index 55d9f98..90d933d 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -7,7 +7,7 @@ function reset_broken_terminal () { printf '%b' '\e[0m\e(B\e)0\017\e[?5l\e7\e[0;0r\e8' } -export ZSH="$HOME/.dotfiles/zsh" +export ZSH="$HOME/.config/zsh" # Setup history diff --git a/tools/install.sh b/tools/install.sh index 6196b3e..18a2077 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -15,11 +15,11 @@ then echo "Aborting." exit 255 fi -mkdir -p $HOME/.dotfiles/zsh/{plugins,themes} -ZSH="$HOME/.dotfiles/zsh" +mkdir -p $HOME/.config/zsh/{plugins,themes} +ZSH="$HOME/.config/zsh" echo "Installing zsh theme and plugins" -curl -fsSL https://raw.githubusercontent.com/ivabus/ivabus-zsh-theme/master/ivabus.zsh-theme -o $HOME/.dotfiles/zsh/themes/ivabus.zsh-theme > /dev/null 2>&1 -git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.dotfiles/zsh/plugins/zsh-syntax-highlighting > /dev/null 2>&1 +curl -fsSL https://raw.githubusercontent.com/ivabus/ivabus-zsh-theme/master/ivabus.zsh-theme -o $HOME/.config/zsh/themes/ivabus.zsh-theme > /dev/null 2>&1 +git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.config/zsh/plugins/zsh-syntax-highlighting > /dev/null 2>&1 # installing vimplug curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim diff --git a/tools/install_nix.sh b/tools/install_nix.sh index fd39497..7466e0a 100755 --- a/tools/install_nix.sh +++ b/tools/install_nix.sh @@ -6,8 +6,8 @@ if [ ! -d $HOME/.config ]; then fi chmod +x $HOME/.dotfiles/tools/* $HOME/.dotfiles/tools/relink.sh -mkdir -p $HOME/.dotfiles/zsh/{plugins,themes} -curl -fsSL https://raw.githubusercontent.com/ivabus/ivabus-zsh-theme/master/ivabus.zsh-theme -o $HOME/.dotfiles/zsh/themes/ivabus.zsh-theme -git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.dotfiles/zsh/plugins/zsh-syntax-highlighting +mkdir -p $HOME/.config/zsh/{plugins,themes} +curl -fsSL https://raw.githubusercontent.com/ivabus/ivabus-zsh-theme/master/ivabus.zsh-theme -o $HOME/.config/zsh/themes/ivabus.zsh-theme +git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.config/zsh/plugins/zsh-syntax-highlighting curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim nvim -c :PlugInstall -c :q -c :q