feat: add bashrc

This commit is contained in:
Kitty Fangs 2024-05-05 04:34:33 +00:00
parent 93850f9aa1
commit 7b86f8cdb8
2 changed files with 14 additions and 2 deletions

12
home/.bashrc Normal file
View File

@ -0,0 +1,12 @@
# Init Starship
eval "$(starship init bash)"
# History
setopt share_history
HISTSIZE=100000
SAVEHIST=100000
# Homeshick for configs
source $HOME/.homesick/repos/homeshick/homeshick.sh
source $HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash
homeshick pull

View File

@ -18,9 +18,9 @@ git clone https://github.com/andsens/homeshick.git "$HOME/.homesick/repos/homesh
source "$HOME/.homesick/repos/homeshick/homeshick.sh" source "$HOME/.homesick/repos/homeshick/homeshick.sh"
## clone home, then set it to ssh afterwards ## clone home, then set it to ssh afterwards
## This means we need our keys before we can make further actions ## This means we need our keys before we can make further actions - disable the ssh behavior for now
homeshick --batch clone https://stash.firekitten.net/kford/dotfiles.git homeshick --batch clone https://stash.firekitten.net/kford/dotfiles.git
git -C "$HOME/.homesick/repos/dotfiles" remote set-url origin git@stash.firekitten.net:kford/dotfiles ## git -C "$HOME/.homesick/repos/dotfiles" remote set-url origin git@stash.firekitten.net:kford/dotfiles
## Link everything ## Link everything
homeshick link --force homeshick link --force