diff options
Diffstat (limited to 'home/john')
-rw-r--r-- | home/john/.shrc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/home/john/.shrc b/home/john/.shrc new file mode 100644 index 0000000..4102b36 --- /dev/null +++ b/home/john/.shrc @@ -0,0 +1,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 |