feat: add omz and tpm as dependencies
This commit is contained in:
@@ -18,6 +18,10 @@ case $(uname -s) in
|
||||
fi
|
||||
;;
|
||||
|
||||
# espanso
|
||||
espanso service register
|
||||
espanso service start
|
||||
|
||||
Linux)
|
||||
|
||||
# First, we need to distinguish between Arch and Debian/Ubuntu
|
||||
@@ -79,6 +83,14 @@ if ! [ -d "$HOME/.zsh/powerlevel10k" ]; then
|
||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $HOME/.zsh/powerlevel10k
|
||||
fi
|
||||
|
||||
if ! [ -d "$HOME/.oh-my-zsh/" ]; then
|
||||
echo "Installing oh-my-zsh"
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
rm "$HOME/.zshrc"
|
||||
mv "$HOME/.zshrc.pre-oh-my-zsh" "$HOME/.zshrc"
|
||||
source "$HOME/.zshrc"
|
||||
fi
|
||||
|
||||
read -qs "ans?Change yadm origin remote to SSH url? (y/N) "
|
||||
case $ans in
|
||||
y)
|
||||
@@ -92,3 +104,8 @@ if ! [ -d "$HOME/.config/ranger/plugins/ranger_devicons" ]; then
|
||||
echo "Installing ranger_devicons"
|
||||
git clone https://github.com/alexanderjeurissen/ranger_devicons $HOME/.config/ranger/plugins/ranger_devicons
|
||||
fi
|
||||
|
||||
if ! [ -d "$HOME/.config/tmux/plugins/tpm/" ]; then
|
||||
echo "Installing Tmux Plugin Manager (TPM)"
|
||||
git clone https://github.com/tmux-plugins/tpm $HOME/config/tmux/plugins/tpm
|
||||
fi
|
||||
Reference in New Issue
Block a user