This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-12
Channels
- # adventofcode (135)
- # announcements (1)
- # beginners (192)
- # boot (5)
- # calva (130)
- # cider (42)
- # cljdoc (4)
- # cljs-dev (6)
- # cljsrn (3)
- # clojure (222)
- # clojure-europe (2)
- # clojure-greece (5)
- # clojure-italy (24)
- # clojure-nl (23)
- # clojure-russia (1)
- # clojure-spec (6)
- # clojure-uk (67)
- # clojurescript (35)
- # cursive (39)
- # datomic (61)
- # emacs (17)
- # figwheel (3)
- # figwheel-main (2)
- # fulcro (12)
- # hyperfiddle (10)
- # juxt (3)
- # leiningen (10)
- # nrepl (35)
- # off-topic (34)
- # onyx (3)
- # pathom (6)
- # quil (5)
- # re-frame (29)
- # reitit (6)
- # ring (1)
- # ring-swagger (8)
- # shadow-cljs (37)
- # spacemacs (9)
- # sql (9)
- # tools-deps (24)
- # unrepl (1)
- # vim (1)
I have a Havanese and he just sleeps all day. We have to convince him to go for a walk in the morning :)
I have cat with striped pattern. He probably plans my murder.
all cats plan the murder of the humans around them, that’s what cats do
https://www.eneroth.com/images/thor.jpeg This is our Lhasa Apso, Thor. 14 year old puppy.
He works in security. He screens visitors and conveniently acts as a secondary door bell just in case we didn’t hear the primary door bell.
I don't know the origin of this quote, but love it: "In Ancient Egypt, cats were worshipped as gods.... Cats have never forgotten this."
Is there a way in zsh (or bash) to reference variables you just wrote at the beginning of the line? For example: FOO=42 echo 52 - 10 = $FOO
(which doesn't work)
And without exporting the variable globally like in export FOO=42; echo 52 - 10 = $FOO
(which works, but then you have a variable FOO in you renv)
It works in my shell
FOO=42; echo 52 - 10 = $FOO
even without the semi
(zsh user here)
is it possible the ;
is meaningful in lennart's example but which is missing from yours david?
well, thats not surprising is it?
bash is stateful :’)
nah, echo is in /bin
echo is both? what
When you write FOO=42 some-command
, some-command
's env receives FOO, but FOO isn't saved in your shell env (the one you get with env
)
This is helpful, for example you might want to write DEBUG=1 some-command
at some point, which works as intended
but if you write instead DEBUG=1; some-command
, the next time you call some-command
DEBUG will still be set to 1
yeah I see
shell has many mysteries to me right now
ahah yeah, at some point I thought about reading the zsh manual but nopped out of it very fast
I was amazed the first time I found a binary called [
in /bin