|
|
@ -1,26 +1,24 @@ |
|
|
|
.PHONY: update bash ssh readline starship fzf |
|
|
|
|
|
|
|
install: update starship fzf bash readline |
|
|
|
install: update starship fzf bash |
|
|
|
|
|
|
|
update: |
|
|
|
git pull |
|
|
|
|
|
|
|
bash: |
|
|
|
rm -rf ~/.bashrc ~/.bash_aliases |
|
|
|
stow bash |
|
|
|
|
|
|
|
ssh: |
|
|
|
mkdir -p ~/.ssh |
|
|
|
cat ssh/.ssh/authorized_keys >> ~/.ssh/authorized_keys |
|
|
|
cat ssh/authorized_keys >> ~/.ssh/authorized_keys |
|
|
|
|
|
|
|
readline: |
|
|
|
rm -rf ~/.inputrc |
|
|
|
stow readline |
|
|
|
bash: |
|
|
|
rm -rf ~/.bashrc ~/.bash_aliases |
|
|
|
cp bash/bashrc ~/.bashrc |
|
|
|
cp bash/bash_aliases ~/.bash_aliases |
|
|
|
|
|
|
|
starship: |
|
|
|
curl -fsSL https://starship.rs/install.sh | bash -s -- -b ~/.local/bin -y |
|
|
|
rm -rf ~/.config/starship.toml |
|
|
|
stow starship |
|
|
|
cp starship/starship.toml ~/.config/starship.toml |
|
|
|
|
|
|
|
fzf: |
|
|
|
cd ~/.local && curl -fsSL https://raw.githubusercontent.com/junegunn/fzf/master/install | bash -s -- --xdg |
|
|
|
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf |
|
|
|
~/.fzf/install --xdg --key-bindings --completion --no-update-rc |