fix: moved homeshick init to after interactivity check

This commit is contained in:
Kitty Fangs 2024-05-05 07:27:03 +00:00
parent afef0d4112
commit feb8989198
1 changed files with 6 additions and 7 deletions

View File

@ -1,10 +1,3 @@
# Homeshick for configs
source $HOME/.homesick/repos/homeshick/homeshick.sh
source $HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash
homeshick pull
homeshick link
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
@ -15,6 +8,12 @@ case $- in
*) return;;
esac
# Homeshick for configs
source $HOME/.homesick/repos/homeshick/homeshick.sh
source $HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash
homeshick pull
homeshick link
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth