Add shebangs

This commit is contained in:
Kovid Goyal 2021-07-16 11:32:04 +05:30
parent 2fcd57410a
commit 0ec10b52e0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/bin/bash
_ksi_main() {
if [[ $- != *i* ]] ; then return; fi # check in interactive mode
if [[ -z "$KITTY_SHELL_INTEGRATION" ]]; then return; fi

View File

@ -1,3 +1,5 @@
#!/bin/zsh
() {
if [[ ! -o interactive ]]; then return; fi
if [[ -z "$KITTY_SHELL_INTEGRATION" ]]; then return; fi