From 57fd6ef51ed69636280561461eb3f6b71e4fad3d Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sun, 3 Sep 2023 20:00:27 +0100 Subject: Default terminal changed to Kitty --- .bashrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index dd310e0..f0312b6 100644 --- a/.bashrc +++ b/.bashrc @@ -9,6 +9,8 @@ [[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \ . /usr/share/bash-completion/bash_completion +source <(kitty + complete setup bash) + # Check window size after each command, and if necessary # update the values of LINES and COLUMNS shopt -s checkwinsize @@ -71,7 +73,7 @@ export XKB_DEFAULT_LAYOUT=us #export LANG="en_US.UTF-8" #export LC_ALL="en_US.UTF-8" export SSH_ASKPASS=~/.local/bin/ssh-askpass -export TERMINAL="foot" +export TERMINAL="kitty" # Enable the use of ssh-agent if ! pgrep -u "$USER" ssh-agent > /dev/null; then @@ -93,3 +95,7 @@ case $TERM in *) export PS1="\[$(tput bold)\]\[$(tput setaf 2)\][\u@\h \w] \\[$(tput sgr0)\]";; esac + +# BEGIN_KITTY_SHELL_INTEGRATION +if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi +# END_KITTY_SHELL_INTEGRATION -- cgit v1.2.3