mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
16 lines
594 B
Bash
Executable File
16 lines
594 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
|
|
for d in $(find -- */ -maxdepth 0 -type d | cut -f1 -d '/'); do
|
|
echo "Linking $d..."
|
|
(stow -t "$HOME" "$d")
|
|
done
|
|
|
|
if [ ! -d "$HOME/.oh-my-zsh/custom/themes/spaceship-prompt" ]; then
|
|
echo "Cloning spacehip-prompt..."
|
|
git clone https://github.com/denysdovhan/spaceship-prompt.git "$HOME/.oh-my-zsh/custom/themes/spaceship-prompt"
|
|
fi
|
|
if [ ! -d "$HOME/.oh-my-zsh/custom/themes/spaceship.zsh-theme" ]; then
|
|
echo "Linking spacehip-prompt..."
|
|
ln -s "$HOME/.oh-my-zsh/custom/themes/spaceship-prompt/spaceship.zsh-theme" "$HOME/.oh-my-zsh/custom/themes/spaceship.zsh-theme"
|
|
fi
|