Browse Source

Finally updated the install script

master
Julio Biason 4 years ago
parent
commit
4b429ab861
  1. 43
      install.sh

43
install.sh

@ -1,7 +1,42 @@
#!/bin/sh #!/bin/sh
ln -sf $PWD/vim/configs/vimrc ~/.vim/vimrc vim() {
ln -sf $PWD/vim/configs/gvimrc ~/.vim/gvimrc echo "Installing VIM configuration..."
ln -sf $PWD/vim/UltiSnips ~/.vim/UltiSnips ln -sf vim ~/.vim
echo "Initializing plugins..."
cd ~/.vim/
git submodule init
git submodule update
cd -
}
ln -sf $PWD/tmux/tmux.conf ~/.tmux.conf starship() {
echo "Installing Starship configuration..."
ln -sf starship/starship.toml ~/.config/starship.toml
}
kitty() {
echo "Installing Kitty configuration..."
ln -sf kitty ~/.config/kitty
}
git() {
echo "Installing git aliases..."
git config --global alias.pushup 'push -u origin HEAD'
git config --global alias.please 'push --force-with-lease'
git config --global alias.new-branch 'checkout -b'
}
bash() {
echo "Installing Bash scripts..."
for file in ./bash/*.bash;
do
cat $file >> ~/.bashrc
done
}
vim
starship
kitty
git
bash

Loading…
Cancel
Save