Fix syntax errors.

This commit is contained in:
SolitudeSF 2020-07-06 14:55:54 +03:00
parent b875a1802c
commit 91914a8501
No known key found for this signature in database
GPG Key ID: 789B06817C385387
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ provide-module iterm %{
# ensure that we're running on iTerm
evaluate-commands %sh{
[-z "${kak_opt_windowing_modules}" ] || [ "$TERM_PROGRAM" = "iTerm.app" ] || echo 'fail iTerm not detected'
[ -z "${kak_opt_windowing_modules}" ] || [ "$TERM_PROGRAM" = "iTerm.app" ] || echo 'fail iTerm not detected'
}
define-command -hidden -params 2.. iterm-terminal-split-impl %{

View File

@ -5,7 +5,7 @@ provide-module kitty %{
# ensure that we're running on kitty
evaluate-commands %sh{
[-z "${kak_opt_windowing_modules}" ] || [ "$TERM" = "xterm-kitty" ] || echo 'fail Kitty not detected'
[ -z "${kak_opt_windowing_modules}" ] || [ "$TERM" = "xterm-kitty" ] || echo 'fail Kitty not detected'
}
declare-option -docstring %{window type that kitty creates on new and repl calls (kitty|os)} str kitty_window_type kitty

View File

@ -6,7 +6,7 @@ provide-module screen %{
# ensure that we're running under screen
evaluate-commands %sh{
[-z "${kak_opt_windowing_modules}" ] || [ -n "$STY" ] || echo 'fail screen not detected'
[ -z "${kak_opt_windowing_modules}" ] || [ -n "$STY" ] || echo 'fail screen not detected'
}
define-command screen-terminal-impl -hidden -params 3.. %{

View File

@ -4,7 +4,7 @@ provide-module x11 %{
# ensure that we're running in the right environment
evaluate-commands %sh{
[-z "${kak_opt_windowing_modules}" ] || [ -n "$DISPLAY" ] || echo 'fail DISPLAY is not set'
[ -z "${kak_opt_windowing_modules}" ] || [ -n "$DISPLAY" ] || echo 'fail DISPLAY is not set'
}
# termcmd should be set such as the next argument is the whole