env variable

This commit is contained in:
Alexander Popov 2022-08-13 11:18:47 +03:00
parent 91d59dab14
commit 875be9645e
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C
2 changed files with 4 additions and 0 deletions

View File

@ -3,3 +3,4 @@
## std
- [Значение из Regex::MatchData](value_from_match.cr) - Получить значение из `Regex::MatchData("Happy")`
- [IO::TimeoutError](prompt_timeout.cr) - Установка тайм-аута на пользовательский ввод
- [ENV["..."]](env_variable.cr) - Переменные среды

View File

@ -0,0 +1,3 @@
shell = ENV["SHELL"]
puts "SHELL: #{shell}\nLANG: #{ENV["COLORTERM"]}"