Added "composerexe" variable.

This commit is contained in:
k1574 2021-06-29 14:20:32 +05:00
parent 1dfbca545f
commit b7c97ae852
2 changed files with 8 additions and 2 deletions

View file

@ -47,6 +47,7 @@ export_loop \
SETENV '$LIB/setenv/sh' \
GOPATH '$APP/go' \
GOEXE '$GOPATH/bin'\
COMPOSEREXE '$LIB/composer/vendor/bin'
VPATH '$APP/v'\
VEXE '$VPATH'\
PLAN9BASE '/usr/local/plan9' \
@ -59,7 +60,7 @@ export_loop \
ANDROID_NDK_HOME '$APP/android/ndk' \
LOGIN '$LIB/login/sh' \
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

View file

@ -50,11 +50,12 @@ goexe = $gopath/bin # Golang binaries.
vpath = $app/v # VLang binaries and scripts.
vexe = $vpath
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.
editor = ed
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.
if(which goblin >/dev/null >[2=1]){
path = `{
@ -156,6 +157,10 @@ fn cds {
{for(i in $cds) echo $i } | nl
}
fn hcds {
cds | head
}
fn p {
plumb $*
}