new function for dot.mkshrc:

23:19⎜<laffer1:#midnightbsd> oddly enough the only cshism i like is setting environment variables at this point.
This commit is contained in:
tg 2011-07-03 23:26:47 +00:00
parent 0739fa74a0
commit 02b76603f8
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# $Id$
# $MirOS: src/bin/mksh/dot.mkshrc,v 1.60 2011/05/29 02:18:49 tg Exp $
# $MirOS: src/bin/mksh/dot.mkshrc,v 1.61 2011/07/03 23:26:47 tg Exp $
#-
# Copyright (c) 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011
# Thorsten Glaser <tg@mirbsd.org>
@ -367,6 +367,11 @@ function Lstripcom {
done; }
}
# give MidnightBSD's laffer1 a bit of csh feeling
function setenv {
eval export $1'="$2"'
}
: place customisations below this line
for p in ~/.etc/bin ~/bin; do