feat: add omz and tpm as dependencies
This commit is contained in:
@@ -18,6 +18,10 @@ case $(uname -s) in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
# espanso
|
||||||
|
espanso service register
|
||||||
|
espanso service start
|
||||||
|
|
||||||
Linux)
|
Linux)
|
||||||
|
|
||||||
# First, we need to distinguish between Arch and Debian/Ubuntu
|
# 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
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $HOME/.zsh/powerlevel10k
|
||||||
fi
|
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) "
|
read -qs "ans?Change yadm origin remote to SSH url? (y/N) "
|
||||||
case $ans in
|
case $ans in
|
||||||
y)
|
y)
|
||||||
@@ -92,3 +104,8 @@ if ! [ -d "$HOME/.config/ranger/plugins/ranger_devicons" ]; then
|
|||||||
echo "Installing ranger_devicons"
|
echo "Installing ranger_devicons"
|
||||||
git clone https://github.com/alexanderjeurissen/ranger_devicons $HOME/.config/ranger/plugins/ranger_devicons
|
git clone https://github.com/alexanderjeurissen/ranger_devicons $HOME/.config/ranger/plugins/ranger_devicons
|
||||||
fi
|
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