Bring your ark.

Journaling on estrip is easy and free. sign up here
pathed_cd () {
if [ "$1" == "" ]; then
cd
else
cd "$1"
fi
pwd > ~/.cdpath
}
alias cd="pathed_cd"
if [ -f ~/.cdpath ]; then
cd $(cat ~/.cdpath)
fi
export HISTCONTROL=erasedups
shopt -s histappend
set bell-style none
- do not make noise
"e[B": history-search-forward
- By default up/down are bound to previous-history
- and next-history respectively. The following does the
- same but gives the extra functionality where if you
- type any text (or more accurately, if there is any text
- between the start of the line and the cursor),
- the subset of the history starting with that text
- is searched (like 4dos for e.g.).
- Note to get rid of a line just Ctrl-C
"e[A": history-search-backward
$if Bash
# F10 toggles mc on and off
# Note Ctrl-o toggles panes on and off in mc
"e[21~": "mcC-M"
#do history expansion when space entered
Space: magic-space
$endif
$include /etc/inputrc
- Include system wide settings which are ignored
- by default if one has their own .inputrc
parse_git_branch() {
- Prompt setup, with SCM status
local DIRTY STATUS
STATUS=$(git status 2>/dev/null)
[ $? -eq 1 ] || return
[[ "$STATUS" == *'working directory clean'* ]] || DIRTY=' *'
echo "($(git branch 2>/dev/null | sed -e '/^[^*]/d' -e 's/* //')$DIRTY)"
}
parse_svn_revision() {
local DIRTY REV=$(svn info 2>/dev/null | grep Revision | sed -e 's/Revision: //')
[ "$REV" ] || return
[ "$(svn st)" ] && DIRTY=' *'
echo "(r$REV$DIRTY)"
}
PS1='u@h:W$(parse_git_branch)$(parse_svn_revision) $ '
alias ll="ls -lp"
- various ls aliases
alias la="ls -ap"
alias lla="ls -lap"
alias h="history | grep "
- shorthand to search history, "h blah"
alias o='open .'
- open current directory in finder
alias san='svn status | grep "^?" | awk "{print $2}" | xargs svn add'
- add all new files, which aren't ignored, to svn repo
It just now started raining @ 12:15 am in Blossburg, PA. It threatened a couple times today, including right before and during Jill's surprise 30th bday party. <phew>
The wind driven rain can get pretty scary.
Whoa, it rained so hard, much worse after I took this pic.