Tyleo-Scripts/irp-aliasbytyleo

16 lines
482 B
Text
Raw Permalink Normal View History

2024-02-18 18:06:30 +00:00
#!/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."