Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: df6673b4d8
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.297 kB
export EDITOR=vi
alias e='vim'
safeedit() {
if [ -e $1 ]; then
if [ ! -d backups ]; then
echo 'Creating backups directory'
mkdir backups
fi
backup="backups/$1.`date +%Y%m%d-%H%M%S`"
cp "$1" "$backup"
fi
${EDITOR} "$1"
}
pless() {
pygmentize $1 | less -r
}
Jump to Line
Something went wrong with that request. Please try again.