diff --git a/kitty/complete.py b/kitty/complete.py index 54b4fdf09..1bc106c60 100644 --- a/kitty/complete.py +++ b/kitty/complete.py @@ -35,7 +35,7 @@ completion_scripts = { 'zsh': ''' _kitty() { local src - # Send all words upto the word the cursor is currently on + # Send all words up to the word the cursor is currently on src=$(printf "%s\n" "${(@)words[1,$CURRENT]}" | kitty +complete zsh) if [[ $? == 0 ]]; then eval ${src} diff --git a/kitty/control-codes.h b/kitty/control-codes.h index 09a4ae471..66f1f770c 100644 --- a/kitty/control-codes.h +++ b/kitty/control-codes.h @@ -16,7 +16,7 @@ // *Bell*: Beeps. #define BEL 0x07 -// *Backspace*: Backspace one column, but not past the begining of the +// *Backspace*: Backspace one column, but not past the beginning of the // line. #define BS 0x08