My own configuration files
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
vim() {
|
|
|
|
echo "Installing VIM configuration..."
|
|
|
|
ln -sf vim ~/.vim
|
|
|
|
echo "Initializing plugins..."
|
|
|
|
cd ~/.vim/
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
|
|
|
cd -
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|