aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc8
1 files changed, 7 insertions, 1 deletions
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