From b7c97ae852b11b196de00ac7002017b1065bab21 Mon Sep 17 00:00:00 2001 From: k1574 Date: Tue, 29 Jun 2021 14:20:32 +0500 Subject: [PATCH] Added "composerexe" variable. --- dot/file/profile | 3 ++- profile | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dot/file/profile b/dot/file/profile index fd25818..9d96a32 100755 --- a/dot/file/profile +++ b/dot/file/profile @@ -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 diff --git a/profile b/profile index e6d2cf9..cc4399e 100644 --- a/profile +++ b/profile @@ -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 $* }