Revamp installer and dots
This commit is contained in:
parent
fc0a7a25ab
commit
34fb8a5fcb
76 changed files with 6240 additions and 2786 deletions
35
install.sh
Normal file → Executable file
35
install.sh
Normal file → Executable file
|
@ -1,22 +1,17 @@
|
|||
xdg-user-dirs-update
|
||||
PLUGINS=${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins
|
||||
THEMES=${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes
|
||||
echo "Installing oh-my-zsh"
|
||||
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
#!/bin/env bash
|
||||
|
||||
echo "Copying Config"
|
||||
cp -rv config/* ~/.config
|
||||
cp -v .p10k.zsh ~
|
||||
cp -v .zshrc ~
|
||||
cp -v aliases.zsh ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}
|
||||
read -p "Copy configs? [y/n]" -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
echo "Copying configs."
|
||||
cp -rv config/* ~/.config && echo "Done, copied successfully."
|
||||
fi
|
||||
|
||||
echo "Installing theme"
|
||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $THEMES/powerlevel10k
|
||||
|
||||
echo "Installing plugins"
|
||||
|
||||
git clone --depth=1 https://github.com/MichaelAquilina/zsh-auto-notify.git $PLUGINS/auto-notify
|
||||
git clone --depth=1 https://github.com/TamCore/autoupdate-oh-my-zsh-plugins $PLUGINS/autoupdate
|
||||
git clone --depth=1 https://github.com/chrissicool/zsh-256color $PLUGINS/zsh-256color
|
||||
git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions $PLUGINS/zsh-autosuggestions
|
||||
git clone --depth=1 https://github.com/3v1n0/zsh-bash-completions-fallback $PLUGINS/zsh-bash-completions-fallback
|
||||
read -p "Copy oh-my-posh theme? [y/n]" -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
echo "Installing theme."
|
||||
mkdir -p ~/.poshthemes && cp bubblesextra.omp.json ~/.poshthemes && echo "Done, copied successfully."
|
||||
fi
|
Reference in a new issue