diff --git a/.talismanrc b/.talismanrc index 288a296..9aaa8cb 100644 --- a/.talismanrc +++ b/.talismanrc @@ -8,6 +8,8 @@ fileignoreconfig: - filename: dotfiles/shell/profile ignore_detectors: - filename +- filename: dotfiles/zsh/zshrc + checksum: 4c80068ae9cfeee19d747d581b8d9ae9d8a947bb07d17eaa963731a1f7d6ec48 - filename: pacman_hooks/borg_backup.hook ignore_detectors: - filename diff --git a/dotfiles/bash/bashrc b/dotfiles/bash/bashrc index f828491..45f8c93 100644 --- a/dotfiles/bash/bashrc +++ b/dotfiles/bash/bashrc @@ -70,7 +70,6 @@ if pip show argcomplete >/dev/null 2>&1; then eval "$(register-python-argcomplete schedule_timer)" fi - case "$TERM" in xterm-kitty) source <(kitty + complete setup bash);; esac diff --git a/dotfiles/zsh/zshrc b/dotfiles/zsh/zshrc index 829f3b7..20feb64 100644 --- a/dotfiles/zsh/zshrc +++ b/dotfiles/zsh/zshrc @@ -40,6 +40,11 @@ setopt COMPLETE_ALIASES case "$TERM" in xterm-kitty) kitty + complete setup zsh | source /dev/stdin esac +if pip show argcomplete >/dev/null 2>&1; then + autoload -U bashcompinit + bashcompinit + eval "$(register-python-argcomplete schedule_timer)" +fi # Use vim keys in tab complete menu bindkey -M menuselect 'h' vi-backward-char