diff --git a/functions.sh b/functions.sh index eeb5f03d..e4c16c69 100644 --- a/functions.sh +++ b/functions.sh @@ -82,7 +82,11 @@ rc() { shift fi - file="$DOTFILES/$1.sh" + if [[ -f "$DOTFILES/$1.sh" ]]; then + file="$DOTFILES/$1.sh" + else + file="$DOTFILES/$1" + fi if [[ -f $file ]]; then hash=$(md5 $file) diff --git a/synced/motd/10-logo b/synced/motd/10-logo index f328e46b..ec97c250 100755 --- a/synced/motd/10-logo +++ b/synced/motd/10-logo @@ -2,21 +2,6 @@ source $DOTFILES/aliases.sh -# logo=' -# /$$$$$$ -# /$$__ $$ -# /$$$$$$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$$$$$ | $$ \__/ -# /$$_____/ |____ $$ /$$_____/ /$$__ $$|____ $$| $$$$ -# | $$ /$$$$$$$| $$$$$$ | $$ \__/ /$$$$$$$| $$_/ -# | $$ /$$__ $$ \____ $$| $$ /$$__ $$| $$ -# | $$$$$$$| $$$$$$$ /$$$$$$$/| $$ | $$$$$$$| $$ -# \_______/ \_______/|_______/ |__/ \_______/|__/ -# ' - -# echo "$(tput bold)$(echo $logo)$(tput sgr0)" | lolcat -f -# echo -# echo - if [[ $(hostname) == 'spider.casraf.dev' ]]; then text='@spider' extra_echo=1