config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 153552a37b79eb3e4b580f0b9c58c4e05ce4303b
parent 605a0bb0d0a5b6ee7059509305f72eb0f0f9c2fc
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Fri,  2 Apr 2021 20:32:40 -0700

Set and unset ksh(1) options

- Set physical which removes ksh(1) symlink processing (see: Lexical
  File Names in Plan 9 by Rob Pike).

- Set the pipefail option which is much more logical than the default
  behavior; I don't see why one would want to continue if a component
  of the pipeline fails.

- Unset trackall (h) as it frequently gets in my way when I make
  wrapper scripts or whatnot.

Diffstat:
Mlocal/ksh/.config/ksh.kshrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/local/ksh/.config/ksh.kshrc b/local/ksh/.config/ksh.kshrc @@ -1,6 +1,6 @@ # ksh rc file -set -Xabh -o vi +set -Xab -o vi -o physical -o pipefail HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/ksh/$(date +%Y/%m)" HISTSIZE=820000