From 09318a472b94ab441c7113938a6568fe706fbc16 Mon Sep 17 00:00:00 2001 From: tg Date: Mon, 3 Mar 2008 20:22:37 +0000 Subject: [PATCH] =?UTF-8?q?no=20longer=20make=20the=20DIRSTACKBASE=20varia?= =?UTF-8?q?ble=20read-only=20=E2=80=93=20it=20makes=20too=20much=20trouble?= =?UTF-8?q?=20when=20re-reading=20.mkshrc,=20and=20=E2=80=9Cwe=20sell=20ro?= =?UTF-8?q?pe=E2=80=9D=20after=20all?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dot.mkshrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dot.mkshrc b/dot.mkshrc index 3fa3ede..d022293 100644 --- a/dot.mkshrc +++ b/dot.mkshrc @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/dot.mkshrc,v 1.29 2008/03/03 18:44:32 tg Stab $ +# $MirOS: src/bin/mksh/dot.mkshrc,v 1.30 2008/03/03 20:22:37 tg Stab $ #- # Copyright (c) 2007, 2008 # Thorsten “mirabilos” Glaser @@ -64,7 +64,6 @@ whence -p hd >&- || function hd { # Berkeley C shell compatible dirs, popd, and pushd functions # Z shell compatible chpwd() hook, used to update DIRSTACK[0] DIRSTACKBASE=$(readlink -nf ~/. 2>&- || print -nr -- "$HOME") -typeset -r DIRSTACKBASE set -A DIRSTACK function chpwd { DIRSTACK[0]=$(readlink -nf . 2>&- || print -r -- "$PWD")