aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2023-09-03 20:00:27 +0100
committerJustine Smithies <justine@smithies.me.uk>2023-09-03 20:00:27 +0100
commit57fd6ef51ed69636280561461eb3f6b71e4fad3d (patch)
treec69bcd6b79b6f5d0a115fe89f138a4c14ee54a15 /.bashrc
parent247b28c6878786cc1cf7be6e9635edd8cb4a4c51 (diff)
Default terminal changed to Kitty
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