diff options
author | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-06-05 14:43:49 +0200 |
---|---|---|
committer | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-06-05 14:43:49 +0200 |
commit | 31e4da1b61cb72be215adf72ca65391cc1b9f1a6 (patch) | |
tree | a6f8e370e394389ba117e3455833cc5603a492f4 /home | |
parent | da151067f5ed8cfa29ee6486ce9358e0fdd89850 (diff) | |
download | lbsd-31e4da1b61cb72be215adf72ca65391cc1b9f1a6.tar.gz |
Add /home/john/.shrc
Diffstat (limited to 'home')
-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 |