[Midnightbsd-cvs] src: dot.mkshrc: Update for r33d
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Apr 17 19:15:53 EDT 2008
Log Message:
-----------
Update for r33d
Modified Files:
--------------
src/share/skel:
dot.mkshrc (r1.2 -> r1.3)
-------------- next part --------------
Index: dot.mkshrc
===================================================================
RCS file: /home/cvs/src/share/skel/dot.mkshrc,v
retrieving revision 1.2
retrieving revision 1.3
diff -L share/skel/dot.mkshrc -L share/skel/dot.mkshrc -u -r1.2 -r1.3
--- share/skel/dot.mkshrc
+++ share/skel/dot.mkshrc
@@ -1,5 +1,5 @@
# $MidnightBSD$
-# $MirOS: src/bin/mksh/dot.mkshrc,v 1.28 2008/03/01 21:24:58 tg Rel $
+# $MirOS: src/bin/mksh/dot.mkshrc,v 1.31 2008/04/11 20:14:02 tg Rel $
#-
# Copyright (c) 2007, 2008
# Thorsten “mirabilos” Glaser <tg at mirbsd.de>
@@ -49,10 +49,12 @@
done; print -nr -- "$pfx$wd") '"$PS1 "
PS1="$(print -n '\x1\r')$PS1" # allow colour codes, framed with ^A
export EDITOR HOSTNAME LESSHISTFILE=- MKSH=$(whence -p mksh) PS1 TERM USER
-alias l='/bin/ls -F'
+alias ls=ls
+unalias ls
+alias l='ls -F'
alias la='l -a'
alias ll='l -l'
-alias lo='la -lo'
+alias lo='l -alo'
alias which='whence -p'
whence -p rot13 >&- || alias rot13='tr \
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ \
@@ -65,7 +67,6 @@
# 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")
More information about the Midnightbsd-cvs
mailing list