Browse Source

Corrected a bunch of tiny problems in the install script

master
Julio Biason 4 years ago
parent
commit
8fd23ce510
  1. 15
      install.sh

15
install.sh

@ -10,7 +10,7 @@ kitty() {
ln -sf $PWD/kitty ~/.config/kitty
}
git() {
gitconfg() {
echo "Installing git aliases..."
git config --global alias.pushup 'push -u origin HEAD'
git config --global alias.please 'push --force-with-lease'
@ -18,11 +18,11 @@ git() {
git config --global alias.slog 'log --oneline --decorate'
}
bash() {
bashcfg() {
echo "Installing Bash scripts..."
for file in ./bash/*.bash;
do
echo "$file" >> ~/.bashrc
echo "### $file" >> ~/.bashrc
cat $file >> ~/.bashrc
echo "" >> ~/.bashrc
done
@ -40,8 +40,9 @@ bat() {
nvim() {
echo "Installing NeoVim configuration..."
ln -sf ~/nvim ~/.config
cd ~/.config/nvim
mkdir -p $HOME/.config 2> /dev/null
ln -sf $PWD/nvim ~/.config
cd $HOME/.config/nvim
git submodule init
git submodule update
cd -
@ -50,5 +51,5 @@ nvim() {
nvim
starship
kitty
git
bash
gitconfg
bashcfg

Loading…
Cancel
Save