Check if motorcycle exists before doing it

This commit is contained in:
Thomas FORGIONE 2016-09-07 19:51:39 +02:00
parent 405dc0ee54
commit 400d1b8eab
1 changed files with 4 additions and 1 deletions

3
zshrc
View File

@ -15,4 +15,7 @@ source $DOTFILES/zsh/aliases.zsh
source $DOTFILES/zsh/functions.zsh source $DOTFILES/zsh/functions.zsh
clear && screenfetch clear && screenfetch
if [ -e "/home/thomas/.more-scripts/motorcyle.py" ]; then
echo -ne "\033[F\033[F\033[F\033[F\033[F\t\t\t\t\t\b\033[1;36mA:\033[0m `/home/thomas/.more-scripts/motorcyle.py`\n\n\n\n\n" echo -ne "\033[F\033[F\033[F\033[F\033[F\t\t\t\t\t\b\033[1;36mA:\033[0m `/home/thomas/.more-scripts/motorcyle.py`\n\n\n\n\n"
fi