fix(cli): increment __DOOMSTEP in elisp instead
Some shells (like ksh on SDF) may complain about $((...)) arithmetic expansion syntax. Rather than wrestle with old shells, I'll offload this trivial operation to elisp instead. Close: #6970
This commit is contained in:
parent
d883863b91
commit
0ecf69afaf
3 changed files with 3 additions and 2 deletions
|
@ -57,7 +57,7 @@ fi
|
|||
# Some state that Doom's CLI framework needs to know about the terminal. Read
|
||||
# the comments at the top of bin/doom for explanations.
|
||||
export __DOOMPID="${__DOOMPID:-$$}"
|
||||
export __DOOMSTEP="$((__DOOMSTEP+1))"
|
||||
export __DOOMSTEP="${__DOOMSTEP:-0}"
|
||||
export __DOOMGEOM="${__DOOMGEOM:-$(tput cols 2>/dev/null)x$(tput lines 2>/dev/null)}"
|
||||
export __DOOMGPIPE="${__DOOMGPIPE:-$__DOOMPIPE}"
|
||||
export __DOOMPIPE=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue