A question about `ansi-term`
noghartt opened this issue · 3 comments
noghartt commented
Reading the README
, I ended up having a doubt, on "Some assumptions" sections, wouldn't it be better to check the default user terminal fromSHELL
environment variable? With it, turns unnecessary that it's obligatory to have ZSH installed.
A way to "access" the content from this var is in this example:
echo $SHELL
viglioni commented
It is true!
Someday I'll try to remove all these assumptions, but my initial focus is to make a working version to code in typescript, haskell and org-mode
viglioni commented
I'll change it soon, tho
(getenv "SHELL")
solves the problem easily, thanks!