1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-22 09:13:33 +01: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

View file

@ -1 +0,0 @@
export CFITSIO=/home/edeboone/Documents/Stage/bin/cfitsio

View file

@ -1,5 +0,0 @@
# Starlink
export STARLINK_DIR=/vol/optcoma/star-namaka
[ -r $STARLINK_DIR/etc/profile ] && . $STARLINK_DIR/etc/profile

View file

@ -1,8 +0,0 @@
# modifications by HEALPixAutoConf 3.31
# Version 3.20
export HEALPIX_CONFIG=/home/edeboone/Documents/Stage/bin/Healpix_3.20/confdir/3_20_Linux/config
# Version 3.31
#export HEALPIX_CONFIG=/home/edeboone/Documents/Stage/bin/Healpix_3.31/confdir/3_31_Linux/config
[ -r $HEALPIX_CONFIG ] && . $HEALPIX_CONFIG

View file

@ -1,15 +0,0 @@
MC=/vol/impuls/marcur
PATH=$MC/common/bin:$PATH
if [[ -d $HOME/public/bin ]]; then
PATH=$HOME/public/bin:$PATH
fi
if [[ -d $HOME/bin ]]; then
PATH=$HOME/bin:$PATH
fi
MANPATH=$MC/lilo/share/man:$MANPATH
## export it all
export PATH
export MANPATH

View file

@ -1,6 +0,0 @@
# Add StarLink
STARLINK_DIR='/mnt/data/user/bin/star-hikianalia'
if [ -e $STARLINK_DIR"/etc/profile" ]; then
source $STARLINK_DIR"/etc/profile"
fi