aboutsummaryrefslogtreecommitdiff
path: root/home/john
diff options
context:
space:
mode:
authorJohn Ankarstr\xf6m <john@ankarstrom.se>2021-06-05 14:43:49 +0200
committerJohn Ankarstr\xf6m <john@ankarstrom.se>2021-06-05 14:43:49 +0200
commit31e4da1b61cb72be215adf72ca65391cc1b9f1a6 (patch)
treea6f8e370e394389ba117e3455833cc5603a492f4 /home/john
parentda151067f5ed8cfa29ee6486ce9358e0fdd89850 (diff)
downloadlbsd-31e4da1b61cb72be215adf72ca65391cc1b9f1a6.tar.gz
Add /home/john/.shrc
Diffstat (limited to 'home/john')
-rw-r--r--home/john/.shrc19
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