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:
parent
0739fa74a0
commit
02b76603f8
@ -1,5 +1,5 @@
|
|||||||
# $Id$
|
# $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
|
# Copyright (c) 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011
|
||||||
# Thorsten Glaser <tg@mirbsd.org>
|
# Thorsten Glaser <tg@mirbsd.org>
|
||||||
@ -367,6 +367,11 @@ function Lstripcom {
|
|||||||
done; }
|
done; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# give MidnightBSD's laffer1 a bit of csh feeling
|
||||||
|
function setenv {
|
||||||
|
eval export $1'="$2"'
|
||||||
|
}
|
||||||
|
|
||||||
: place customisations below this line
|
: place customisations below this line
|
||||||
|
|
||||||
for p in ~/.etc/bin ~/bin; do
|
for p in ~/.etc/bin ~/bin; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user