Added "composerexe" variable.
This commit is contained in:
parent
1dfbca545f
commit
b7c97ae852
2 changed files with 8 additions and 2 deletions
|
@ -47,6 +47,7 @@ export_loop \
|
||||||
SETENV '$LIB/setenv/sh' \
|
SETENV '$LIB/setenv/sh' \
|
||||||
GOPATH '$APP/go' \
|
GOPATH '$APP/go' \
|
||||||
GOEXE '$GOPATH/bin'\
|
GOEXE '$GOPATH/bin'\
|
||||||
|
COMPOSEREXE '$LIB/composer/vendor/bin'
|
||||||
VPATH '$APP/v'\
|
VPATH '$APP/v'\
|
||||||
VEXE '$VPATH'\
|
VEXE '$VPATH'\
|
||||||
PLAN9BASE '/usr/local/plan9' \
|
PLAN9BASE '/usr/local/plan9' \
|
||||||
|
@ -59,7 +60,7 @@ export_loop \
|
||||||
ANDROID_NDK_HOME '$APP/android/ndk' \
|
ANDROID_NDK_HOME '$APP/android/ndk' \
|
||||||
LOGIN '$LIB/login/sh' \
|
LOGIN '$LIB/login/sh' \
|
||||||
GIT 'https://github.com/$USER' \
|
GIT 'https://github.com/$USER' \
|
||||||
PATH '$EXE:$PATH:$GOEXE:$PLAN9BASE/bin:$PLAN9PORT/bin:$VEXE' \
|
PATH '$EXE:$PATH:$GOEXE:$PLAN9BASE/bin:$PLAN9PORT/bin:$VEXE:$COMPOSEREXE' \
|
||||||
|
|
||||||
test -r $SETENV && . "$SETENV" && setenv profile
|
test -r $SETENV && . "$SETENV" && setenv profile
|
||||||
|
|
||||||
|
|
7
profile
7
profile
|
@ -50,11 +50,12 @@ goexe = $gopath/bin # Golang binaries.
|
||||||
vpath = $app/v # VLang binaries and scripts.
|
vpath = $app/v # VLang binaries and scripts.
|
||||||
vexe = $vpath
|
vexe = $vpath
|
||||||
setenv = $lib/setenv/rc # Setting environment script.
|
setenv = $lib/setenv/rc # Setting environment script.
|
||||||
|
composerexe = $lib/composer/vendor/bin
|
||||||
font = $plan9/font/fixed/unicode.9x15.font # The standard font for Plan9 program.
|
font = $plan9/font/fixed/unicode.9x15.font # The standard font for Plan9 program.
|
||||||
editor = ed
|
editor = ed
|
||||||
shell = rc
|
shell = rc
|
||||||
|
|
||||||
path = ( $exe $path $goexe $plan9exe $infernoexe $vexe )
|
path = ( $exe $path $goexe $plan9exe $infernoexe $vexe $composerexe )
|
||||||
# Pretend path from growing because of running many "rc"s.
|
# Pretend path from growing because of running many "rc"s.
|
||||||
if(which goblin >/dev/null >[2=1]){
|
if(which goblin >/dev/null >[2=1]){
|
||||||
path = `{
|
path = `{
|
||||||
|
@ -156,6 +157,10 @@ fn cds {
|
||||||
{for(i in $cds) echo $i } | nl
|
{for(i in $cds) echo $i } | nl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn hcds {
|
||||||
|
cds | head
|
||||||
|
}
|
||||||
|
|
||||||
fn p {
|
fn p {
|
||||||
plumb $*
|
plumb $*
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue