-
Following idiom is used in bash to get the absolute location of a script. It is usually used to include or execute scripts relative to its location independently of what the current working directory …
-
I'm trying to extend the `git` command with a `browse` option, but `defalias` doesn't do what I expect.
In `~/.closhrc`
```clojure
(defalias git-sh "git")
```
=>
```
$ git-sh
git-sh: comman…
-
Thanks for the awesome package.
I noticed there were some patches to fix the `cd` breakage in closh. However it doesn't look like the release jar has been updated to fix this.
On a related not…
-
Is it possible to pass a script to closh, so you can execute a script from, say, bash?
bash$ closh myscript.closh
or
#!/usr/local/bin/closh
ls |> #(println (coun t%))
-
In #2 I had mentioned an option to use `eval` to support scripting mode. With cljs this is hard, now with jvm support this works.
So here we go, after evaluating this in `closh`:
```clojure
…
-
Hello,
While I'm not nearly as experienced as probably most of you all who look into Closh are, I thought it might be interesting if we could create sort of a in-browser Closh playground for peopl…
-
(using the uberjar)
Ok so I've been trying to write some bash with some retry logic. I've failed, and now I'm trying to do this with `closh`
In this particular case I want to check if there is a…
-
repro.cljs
========
```
(when (clojure.string/blank? (getenv "JAR")) (setenv "JAR" "lambda.jar"))
(def target-name (str "target/uberjar/" (getenv "JAR")))
(defn jar-not-exists? [] (not (sh-ok tes…
-
Currently we test by either calling eval directly or spawning a special helper process.
It would be good to add tests that spawn the closh itself and send commands via stdin. This would also allow …
-
When I run command ` ./gk-deploy -g` I get result:
```
Using Kubernetes CLI.
Using namespace "default".
Checking for pre-existing resources...
GlusterFS pods ... not found.
deploy-heketi pod…