mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
14 lines
503 B
Diff
14 lines
503 B
Diff
diff --git a/repl.k b/repl.k
|
|
index 4c023467..10414162 100755
|
|
--- a/repl.k
|
|
+++ b/repl.k
|
|
@@ -2,7 +2,7 @@
|
|
`1:"ngn/k, (c) 2019-2022 ngn, GNU AGPLv3. type \\ for more info\n"
|
|
\d repl
|
|
`1:prompt:," " /use 0x0720 for emacs integration
|
|
-cmds:(,"a")!{`1:1:joinpath[dirname`argv 0]"LICENSE";}
|
|
+cmds:(,"a")!{`1:1:joinpath[dirname`argv 0]"../share/ngn-k/LICENSE";}
|
|
dirname:{$[#x:"/"/-1_"/"\x;x;,"."]}
|
|
joinpath:{$[x~,".";y;"/"~*|x;x,y;x,"/",y]}
|
|
fmt:{$[x~(::);"";(`A~@x)&1<#x;"(",("\n "/`k'x),")\n";`k[x],"\n"]}
|