diff options
-rw-r--r-- | kitty/.config/kitty/kitty.conf | 2 | ||||
-rw-r--r-- | zsh-fish/.zshrc | 12 |
2 files changed, 12 insertions, 2 deletions
diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf index e7f0ab9..1dd519b 100644 --- a/kitty/.config/kitty/kitty.conf +++ b/kitty/.config/kitty/kitty.conf @@ -1315,7 +1315,7 @@ allow_remote_control yes #: exe_search_path +/some/appended/path #: exe_search_path -/some/excluded/path -# update_check_interval 24 +update_check_interval 0 #: The interval to periodically check if an update to kitty is #: available (in hours). If an update is found, a system notification diff --git a/zsh-fish/.zshrc b/zsh-fish/.zshrc index 09669b6..6d543bc 100644 --- a/zsh-fish/.zshrc +++ b/zsh-fish/.zshrc @@ -1 +1,11 @@ -exec /usr/local/bin/fish +SESSION_TYPE=local + +if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then + SESSION_TYPE=remote/ssh +else + case $(ps -o comm= -p "$PPID") in + sshd|*/sshd) SESSION_TYPE=remote/ssh;; + esac +fi + +[ "$SESSION_TYPE" != "remote/ssh" ] && exec /usr/bin/fish |