From 31e4da1b61cb72be215adf72ca65391cc1b9f1a6 Mon Sep 17 00:00:00 2001 From: "John Ankarstr\\xf6m" Date: Sat, 5 Jun 2021 14:43:49 +0200 Subject: Add /home/john/.shrc --- home/john/.shrc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 home/john/.shrc (limited to 'home/john') 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 -- cgit v1.2.3