Fix syntax errors.
This commit is contained in:
parent
b875a1802c
commit
91914a8501
|
@ -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 %{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.. %{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user