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:
parent
4aee70fd06
commit
3bbb4d6c9a
18 changed files with 2 additions and 77 deletions
|
@ -24,10 +24,10 @@ if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load main things
|
# Load main things
|
||||||
if [ -d "$DOTBASH/scriptlets" ]; then
|
if [ -d "$DOTBASH/bash.d" ]; then
|
||||||
for f in colours aliases history ps1
|
for f in colours aliases history ps1
|
||||||
do
|
do
|
||||||
source "$DOTBASH/scriptlets/$f"
|
source "$DOTBASH/bash.d/$f"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Get Marietje and shizzle
|
|
||||||
if [ -f /vol/impuls/marcur/bashrc ]; then
|
|
||||||
. /vol/impuls/marcur/bashrc
|
|
||||||
fi
|
|
|
@ -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'
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
# Report on last renewing of ssl certificates
|
|
||||||
CERTSTAT=~/cert_status
|
|
||||||
if [ -r $CERTSTAT ]; then
|
|
||||||
echo "Last certs: $(cat $CERTSTAT)";
|
|
||||||
fi;
|
|
|
@ -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
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Add iraf setup commands
|
|
||||||
if [ -e /home/ericteunis/.iraf/setup.sh ]; then
|
|
||||||
source /home/ericteunis/.iraf/setup.sh
|
|
||||||
fi
|
|
|
@ -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
|
|
|
@ -1,2 +0,0 @@
|
||||||
echo "Welcome onboard:"
|
|
||||||
figlet -t sXc : fatSerf
|
|
|
@ -1 +0,0 @@
|
||||||
export CFITSIO=/home/edeboone/Documents/Stage/bin/cfitsio
|
|
|
@ -1,5 +0,0 @@
|
||||||
# Starlink
|
|
||||||
|
|
||||||
export STARLINK_DIR=/vol/optcoma/star-namaka
|
|
||||||
|
|
||||||
[ -r $STARLINK_DIR/etc/profile ] && . $STARLINK_DIR/etc/profile
|
|
|
@ -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
|
|
|
@ -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
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue