Browse Source

Merge branch 'master' of git.juliobiason.me:dotfiles

master
Julio Biason 4 years ago
parent
commit
0e652041fc
  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