Skip to content

Commit

Permalink
init.sh: add neovim builtin terminal support (close #257)
Browse files Browse the repository at this point in the history
Co-authored-by: hjalmar jakobsson <hjalmar.jakobsson@telia.com>
  • Loading branch information
balupton and molleweide authored Oct 19, 2024
1 parent d17514e commit a1d3c8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ else
fi
elif test -z "$-" -a -z "$*" -a "${CI-}" = 'true'; then
DOROTHY_LOAD='yes' # dash on github ci, in which [$-] and [$*] are empty, and $0 = /home/runner....
elif test -n "${NVIM-}"; then
DOROTHY_LOAD='yes' # neovim: $0 = init.sh, and BASH_SOURCE[*] is undefined
else
# bash v3 and dash do not set l in $-
# zsh does, however zsh we have a definite option earlier
Expand Down

0 comments on commit a1d3c8d

Please sign in to comment.