16 lines
482 B
Text
16 lines
482 B
Text
|
#!/usr/bin/env bash
|
||
|
|
||
|
if [ -d "/home/$USER/.oh-my-zsh" ]; then
|
||
|
echo "directory \"/home/$USER/.oh-my-zsh\" exists"
|
||
|
else
|
||
|
echo "Oh My ZSH must be installed (with ZSH)"
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
curl static.tyleodev.fr/scr/.alias > ~/.oh-my-zsh/custom/tyleo-alias
|
||
|
touch ~/.oh-my-zsh/custom/personal-alias
|
||
|
|
||
|
echo "To update, rerun this setup. WARN :"
|
||
|
echo "If you add aliases in this file (tyleo-alias)"
|
||
|
echo "everything will be OVERWRITTEN at update."
|
||
|
echo "use 'personal_alias' file instead."
|