1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2025-06-01 20:09:13 +02:00

Renamed envs and bash/scriptlets to *.d

This commit is contained in:
Eric-Teunis de Boone 2016-10-05 02:05:06 +02:00
parent 4aee70fd06
commit 3bbb4d6c9a
18 changed files with 2 additions and 77 deletions

View file

@ -24,10 +24,10 @@ if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
fi
# Load main things
if [ -d "$DOTBASH/scriptlets" ]; then
if [ -d "$DOTBASH/bash.d" ]; then
for f in colours aliases history ps1
do
source "$DOTBASH/scriptlets/$f"
source "$DOTBASH/bash.d/$f"
done
fi

View file

@ -1,4 +0,0 @@
# Get Marietje and shizzle
if [ -f /vol/impuls/marcur/bashrc ]; then
. /vol/impuls/marcur/bashrc
fi

View file

@ -1,6 +0,0 @@
#Aliases for RU
alias lilo='ssh lilo'
alias MC='cd ~/MC; echo "Welcome to Marie Curie"'
alias MCMail='~/MC/www/mailer/mariemailer.psql.pl'
alias DocMail='~/MC/www/mailer/docentmailer.pl'

View file

@ -1,5 +0,0 @@
# Report on last renewing of ssl certificates
CERTSTAT=~/cert_status
if [ -r $CERTSTAT ]; then
echo "Last certs: $(cat $CERTSTAT)";
fi;

View file

@ -1,5 +0,0 @@
# Run the dropbox daemon in the background
if [ -x "$HOST/.dropbox-dist/dropboxd" ]
then
"$HOST/.dropbox-dist/dropboxd" & alias killDropbox='kill $!'
fi

View file

@ -1,4 +0,0 @@
# Add iraf setup commands
if [ -e /home/ericteunis/.iraf/setup.sh ]; then
source /home/ericteunis/.iraf/setup.sh
fi

View file

@ -1,14 +0,0 @@
WTTR=~/.wttr
if [ -f $WTTR ]; then
cat $WTTR
alias wttr='cat $WTTR'
else
read -p "{$Yel}Do you want your weather cronned? " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
cronjob="curl -s wttr.in/Voorthuizen | sec -n 3,7p > $WTTR 2>&1 "
croncmd="27 */2 * * * $cronjob"
( crontab -l | grep -v -F "$croncmd" ; echo "$cronjob" ) | crontab -
fi
fi

View file

@ -1,2 +0,0 @@
echo "Welcome onboard:"
figlet -t sXc : fatSerf