chore: import official kitty sources from upstream
Bring the kovidgoyal/kitty codebase in as the base of FWS-Kitty, vendored at upstream commit 91fb38a without its git history.
This commit is contained in:
commit
7e7d249099
1134 files changed
+433629
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#!/bin/zsh
|
||||
#
|
||||
# This file can get sourced with aliases enabled. Moreover, it be sourced from
|
||||
# zshrc, so the chance of having some aliases already defined is high. To avoid
|
||||
# alias expansion we quote everything that can be quoted. Some aliases will
|
||||
# still break us. For example:
|
||||
#
|
||||
# alias -g -- -r='$RANDOM'
|
||||
#
|
||||
# For this reason users are discouraged from sourcing kitty.zsh in favor of
|
||||
# invoking kitty-integration directly.
|
||||
|
||||
# ${(%):-%x} is the path to the current file.
|
||||
# On top of it we add :A:h to get the directory.
|
||||
'builtin' 'typeset' _ksi_file="${${(%):-%x}:A:h}"/kitty-integration
|
||||
if [[ -r "$_ksi_file" ]]; then
|
||||
'builtin' 'autoload' '-Uz' '--' "$_ksi_file"
|
||||
"${_ksi_file:t}"
|
||||
'builtin' 'unfunction' '--' "${_ksi_file:t}"
|
||||
fi
|
||||
'builtin' 'unset' '_ksi_file'
|
||||
Reference in new issue
Block a user