summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolitudeSF <solitudesf@protonmail.com>2020-07-06 14:55:54 +0300
committerSolitudeSF <solitudesf@protonmail.com>2020-07-06 14:55:54 +0300
commit91914a85014fd25971889f8b8b4b050aaa4fc7bc (patch)
tree823b5a4490a34e0e19d2252dbe334bf3fb4ca072
parentb875a1802c06f9019a514249db4ea17c55af3109 (diff)
Fix syntax errors.
-rw-r--r--rc/windowing/iterm.kak2
-rw-r--r--rc/windowing/kitty.kak2
-rw-r--r--rc/windowing/screen.kak2
-rw-r--r--rc/windowing/x11.kak2
4 files changed, 4 insertions, 4 deletions
diff --git a/rc/windowing/iterm.kak b/rc/windowing/iterm.kak
index 2627cc3c..a1bd4697 100644
--- a/rc/windowing/iterm.kak
+++ b/rc/windowing/iterm.kak
@@ -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 %{
diff --git a/rc/windowing/kitty.kak b/rc/windowing/kitty.kak
index fe77114b..219766a1 100644
--- a/rc/windowing/kitty.kak
+++ b/rc/windowing/kitty.kak
@@ -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
diff --git a/rc/windowing/screen.kak b/rc/windowing/screen.kak
index 03cc2e08..02c63a83 100644
--- a/rc/windowing/screen.kak
+++ b/rc/windowing/screen.kak
@@ -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.. %{
diff --git a/rc/windowing/x11.kak b/rc/windowing/x11.kak
index 74af14d0..5e662683 100644
--- a/rc/windowing/x11.kak
+++ b/rc/windowing/x11.kak
@@ -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