Browse Source

Updated install

master
Julio Biason 3 years ago
parent
commit
aa4c3c7d61
  1. 33
      install.sh

33
install.sh

@ -5,14 +5,9 @@ starship() {
ln -sf $PWD/starship/starship.toml ~/.config/starship.toml
}
kitty() {
echo "Installing Kitty configuration..."
ln -sf $PWD/kitty ~/.config/kitty
}
alacritty() {
echo "Installing Alacritty configuration..."
ln -sf $PWD/alacritty ~/.config/alacritty
ln -sf $PWD/alacritty $HOME/.config/alacritty
}
gitconfg() {
@ -23,16 +18,6 @@ gitconfg() {
git config --global alias.slog 'log --oneline --decorate'
}
bashcfg() {
echo "Installing Bash scripts..."
for file in ./bash/*.bash;
do
echo "### $file" >> ~/.bashrc
cat $file >> ~/.bashrc
echo "" >> ~/.bashrc
done
}
bat() {
if hash bat 2> /dev/null;
then
@ -46,16 +31,26 @@ bat() {
nvim() {
echo "Installing NeoVim configuration..."
mkdir -p $HOME/.config 2> /dev/null
ln -sf $PWD/nvim ~/.config
ln -sf $PWD/nvim $HOME/.config
cd $HOME/.config/nvim
git submodule init
git submodule update
cd -
}
emacs() {
echo "Installing Emacs configuration..."
ln -sf $PWD/emacs.d $HOME/.emacs.d
}
fish() {
echo "Installing Fish configuration..."
mkdir -p $HOME/.config 2> /dev/null
ln -sf $PWD/fish $HOME/.config/
}
nvim
starship
kitty
fish
alacritty
gitconfg
bashcfg

Loading…
Cancel
Save