aboutsummaryrefslogtreecommitdiff
path: root/home/john/.shrc
blob: 4102b36787e5d6545a33686f9ff72caf3ba13471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$NetBSD: dot.shrc,v 1.3 2007/11/24 11:14:42 pavel Exp $

if [ -f /etc/shrc ]; then
	. /etc/shrc
fi

case "$-" in *i*)
	# interactive mode settings go here
	export GIT_EDITOR='vi +:"so /usr/local/share/git.exrc"'
	alias ack='ack --noheading'
	alias info='info --vi-keys'
	alias ls='ls -p'
	n() {
		f=`mktemp`
		noice -p "$@" >$f && cd "$(cat $f)"
		rm $f
	}
	;;
esac