mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-06-01 20:09:13 +02:00
Added beatmaker files
This commit is contained in:
parent
811a903869
commit
979739552d
13 changed files with 116 additions and 25 deletions
|
@ -11,8 +11,10 @@ if [ -x /usr/bin/dircolors ]; then
|
|||
fi
|
||||
|
||||
# some more ls aliases
|
||||
alias ll='ls -l'
|
||||
alias l.='ls -d *'
|
||||
alias ll='ls -l --si -v --group-directories-first'
|
||||
alias la='ls -A'
|
||||
alias lla='ll -A'
|
||||
alias l='ls -CF'
|
||||
|
||||
# Use vim if possible instead of vi
|
||||
|
@ -29,3 +31,7 @@ alias pc='python -ic "from __future__ import division; from math import *"'
|
|||
# Moving around
|
||||
alias ~='cd ~'
|
||||
alias ..='cd ..'
|
||||
|
||||
# Computer control
|
||||
alias blank='xset dpms force off'
|
||||
alias lock='blank; xscreensaver-command --lock'
|
||||
|
|
5
bash/scriptlets/dropbox
Normal file
5
bash/scriptlets/dropbox
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Run the dropbox daemon in the background
|
||||
if [ -x "$HOST/.dropbox-dist/dropboxd" ]
|
||||
then
|
||||
"$HOST/.dropbox-dist/dropboxd" & alias killDropbox='kill $!'
|
||||
fi
|
|
@ -1,3 +1,10 @@
|
|||
if [[ $(command -v fortune) ]]; then
|
||||
fortune -so
|
||||
# Give a fortune cookie
|
||||
if [[ $(command -v fortune) ]]
|
||||
then
|
||||
if [[ $(command -v cowsay) ]]
|
||||
then
|
||||
fortune -so | cowsay -n
|
||||
else
|
||||
fortune -so
|
||||
fi
|
||||
fi
|
||||
|
|
4
bash/scriptlets/iraf
Normal file
4
bash/scriptlets/iraf
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Add iraf setup commands
|
||||
if [ -e /home/ericteunis/.iraf/setup.sh ]; then
|
||||
source /home/ericteunis/.iraf/setup.sh
|
||||
fi
|
|
@ -67,15 +67,13 @@ function __prompt_command() {
|
|||
PS1+="@"
|
||||
|
||||
if color ; then
|
||||
if [[ $HOSTNAME == 'fatserf' ]]; then
|
||||
PS1+="${Pur}\H${RCol}"
|
||||
elif [[ $HOSTNAME == 'lilo'* ]]; then
|
||||
PS1+="${BWhi}\H${RCol}"
|
||||
elif [[ $HOSTNAME == 'hg'* ]]; then
|
||||
PS1+="${BRed}\H${RCol}"
|
||||
else
|
||||
PS1+="${Blu}${On_Whi}\H${RCol}"
|
||||
fi
|
||||
case "$HOSTNAME" in
|
||||
'beatmaker') PS1+="${Gre}\H${RCol}";;
|
||||
'fatserf') PS1+="${Pur}\H${RCol}";;
|
||||
'lilo'*) PS1+="${BWhi}\H${RCol}";;
|
||||
'hg'*) PS1+="${BRed}\H${RCol}";;
|
||||
*) PS1+="${Blu}${On_Whi}\H${RCol}";;
|
||||
esac
|
||||
else
|
||||
PS1+="\H"
|
||||
fi
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
echo "Welcome onboard:"
|
||||
figlet -t sXc : fatSerf
|
||||
fortune | cowsay -n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue