mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 11:11:47 +02:00
Add shebangs
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
_ksi_main() {
|
_ksi_main() {
|
||||||
if [[ $- != *i* ]] ; then return; fi # check in interactive mode
|
if [[ $- != *i* ]] ; then return; fi # check in interactive mode
|
||||||
if [[ -z "$KITTY_SHELL_INTEGRATION" ]]; then return; fi
|
if [[ -z "$KITTY_SHELL_INTEGRATION" ]]; then return; fi
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
() {
|
() {
|
||||||
if [[ ! -o interactive ]]; then return; fi
|
if [[ ! -o interactive ]]; then return; fi
|
||||||
if [[ -z "$KITTY_SHELL_INTEGRATION" ]]; then return; fi
|
if [[ -z "$KITTY_SHELL_INTEGRATION" ]]; then return; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user