From 92eb2aee783a2253695410f4d8c40fb936e9105b Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 11 Apr 2008 20:14:02 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=A2=20make=20sure=20=E2=80=9Cls=E2=80=9D?= =?UTF-8?q?=20is=20no=20shell=20alias:=20=20=20=E2=80=A3=20first=20alias?= =?UTF-8?q?=20ls=3Dls=20to=20define=20it=20(so=20that=20unalias=20won?= =?UTF-8?q?=E2=80=99t=20fail)=20=20=20=E2=80=A3=20then=20unalias=20ls=20?= =?UTF-8?q?=E2=80=A2=20don=E2=80=99t=20hardcode=20/bin/ls=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dot.mkshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dot.mkshrc b/dot.mkshrc index d022293..b4421f6 100644 --- a/dot.mkshrc +++ b/dot.mkshrc @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/dot.mkshrc,v 1.30 2008/03/03 20:22:37 tg Stab $ +# $MirOS: src/bin/mksh/dot.mkshrc,v 1.31 2008/04/11 20:14:02 tg Rel $ #- # Copyright (c) 2007, 2008 # Thorsten “mirabilos” Glaser @@ -48,7 +48,9 @@ PS1='$(precmd)${USER:=$(ulimit -c 0;id -un 2>&- || print \?)}@${HOSTNAME%%.*}:$( 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='l -alo'