2021-10-28 06:52:43 +00:00
|
|
|
--- a/repl.k
|
|
|
|
+++ b/repl.k
|
2021-12-21 02:18:32 +00:00
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
#!k
|
|
|
|
`1:"ngn/k, (c) 2019-2021 ngn, GNU AGPLv3. type \\ for more info\n",repl.prompt:," "
|
|
|
|
-repl.cmds:(,"a")!{`1:1:repl.joinpath[repl.dirname`argv 0]"LICENSE";}
|
|
|
|
+repl.cmds:(,"a")!{`1:1:repl.joinpath[repl.dirname`argv 0]"../share/ngn-k/LICENSE";}
|
|
|
|
repl.dirname:{$[#x:"/"/-1_"/"\x;x;,"."]}
|
|
|
|
repl.joinpath:{$[x~,".";y;"/"~*|x;x,y;x,"/",y]}
|
2021-10-28 06:52:43 +00:00
|
|
|
repl.fmt:{$[x~(::);"";(`A~@x)&1<#x;"(",("\n "/`k'x),")\n";`k[x],"\n"]}
|