added work/regular motd

work
Adam Veldhousen 9 years ago
parent 1d9d2e9d02
commit a586ab869d

@ -2,6 +2,7 @@
alias cdp="cd -"
alias ..='cd ..'
alias pd="pushd $1"
# list files
alias ll='ls --color=always -l'
@ -25,6 +26,7 @@ alias grc='git rebase --continue'
alias gk='git fetch origin; git remote prune origin; gitk --all &'
alias gl='git log --pretty=format:"%h %ar by %an: %s"'
# Get week number
alias week='date +%V'

@ -4,6 +4,20 @@ function prunelocal(){
for b in `git branch --merged | grep -v \*`; do git branch -D $b; done
}
function cls(){
clear
printmotd
}
function printmotd(){
if [[ $WORK ]]; then
cat ~/work_motd
else
cat ~/motd
fi
echo ""
}
function clone()
{
if [ -z "$1" ]

@ -0,0 +1,7 @@
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
/\__\ /\ \ /\__\ /\ \ /\ \ /\ \ /\ \ /\ \ /\__\ /\ \ /\ \ /\ \ /\ \ /\__\
/::L_L_ \:\ \ /::L_L_ /::\ \ /::\ \ /::\ \ /::\ \ /::\ \ /:| _|_ _\:\ \ \:\ \ _\:\ \ /::\ \ /:| _|_
/:/L:\__\/::\__\/:/L:\__\/::\:\__\/::\:\__\/:/\:\__\/:/\:\__\/:/\:\__\/::|/\__\/\/::\__\/::\__\/\/::\__\/:/\:\__\/::|/\__\
\/_/:/ /:/\/__/\/_/:/ /\;:::/ /\:\:\/ /\:\ \/__/\:\/:/ /\:\:\/__/\/|::/ /\::/\/__/:/\/__/\::/\/__/\:\/:/ /\/|::/ /
/:/ /\/__/ /:/ / |:\/__/ \:\/ / \:\__\ \::/ / \::/ / |:/ / \:\__\ \/__/ \:\__\ \::/ / |:/ /
\/__/ \/__/ \|__| \/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/

@ -0,0 +1,7 @@
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
/\__\ /\ \ /\__\ /\ \ /\ \ /\ \ /\ \ /\ \ /\__\ /\ \ /\ \ /\ \ /\ \ /\__\
/::L_L_ \:\ \ /::L_L_ /::\ \ /::\ \ /::\ \ /::\ \ /::\ \ /:| _|_ _\:\ \ \:\ \ _\:\ \ /::\ \ /:| _|_
/:/L:\__\/::\__\/:/L:\__\/::\:\__\/::\:\__\/:/\:\__\/:/\:\__\/:/\:\__\/::|/\__\/\/::\__\/::\__\/\/::\__\/:/\:\__\/::|/\__\
\/_/:/ /:/\/__/\/_/:/ /\;:::/ /\:\:\/ /\:\ \/__/\:\/:/ /\:\:\/__/\/|::/ /\::/\/__/:/\/__/\::/\/__/\:\/:/ /\/|::/ /
/:/ /\/__/ /:/ / |:\/__/ \:\/ / \:\__\ \::/ / \::/ / |:/ / \:\__\ \/__/ \:\__\ \::/ / |:/ /
\/__/ \/__/ \|__| \/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/
Loading…
Cancel
Save