Updated scripts

This commit is contained in:
2024-10-10 22:14:30 +02:00
parent ec5078eb67
commit 175340c4b5
3 changed files with 244 additions and 1 deletions

View File

@@ -127,6 +127,10 @@ cargo install eza
printf -- '\033[33m Installing zoxide\n\033[37m'
cargo install zoxide --locked
# Install starship
printf -- '\033[33m Installing starship\n\033[37m'
cargo install starship --locked
# Install fd
printf -- '\033[33m Installing fd\n\033[37m'
sudo nala install -y fd-find
@@ -319,6 +323,10 @@ printf -- '\033[33m Symlinking lazygit config\n\033[37m'
mkdir -p ~/.config/lazygit
ln -sf ~/code_server/config/lazygit/config.yml ~/.config/lazygit/config.yml
# Symlink starsihp config
printf -- '\033[33m Symlinking starship config\n\033[37m'
ln -sf ~/code_server/config/starship.toml ~/.config/starship.toml
# Symlink luacheck config
printf -- '\033[33m Symlinking luacheck config\n\033[37m'
ln -sf ~/code_server/luacheckrc ~/.luacheckrc
@@ -352,6 +360,7 @@ echo 'alias lsg="eza -1 -l --icons=auto --git-repos --git -h -g -o --no-permissi
echo 'alias lss="eza -1 -l --icons=auto -h -g --total-size -o --no-permissions -a"' >> ~/.bashrc
echo 'source ~/.fzf.bash' >> ~/.bashrc
echo 'eval "$(zoxide init bash)"' >> ~/.bashrc
echo 'eval "$(starship init bash)"' >> ~/.bashrc
if [ $DESKTOP == "no" ] && [ $WSL == "no" ]; then
# Add tmux/nvim autostart to bashrc