(bash) update setup.sh to include more symlinks & alacritty themes
This commit is contained in:
parent
3eb5a0c88b
commit
4a72aadb0e
1 changed files with 10 additions and 2 deletions
|
|
@ -21,13 +21,19 @@ fi
|
||||||
# install essentials
|
# install essentials
|
||||||
echo "Installing essentials..."
|
echo "Installing essentials..."
|
||||||
sudo pacman -Sy curl wget neovim fzf bat ripgrep git
|
sudo pacman -Sy curl wget neovim fzf bat ripgrep git
|
||||||
echo "Setup symlink for neovim configuration"
|
echo "Setup symlink configurations"
|
||||||
ln -s /home/jc/ghq/juancwu/dotfiles/nvim /home/jc/.config/nvim
|
ln -s ~/ghq/juancwu/dotfiles/nvim ~/.config/nvim
|
||||||
|
ln -s ~/ghq/juancwu/dotfiles/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml
|
||||||
|
ln -s ~/ghq/juancwu/dotfiles/i3 ~/.config/i3
|
||||||
|
ln -s ~/ghq/juancwu/dotfiles/bash/.bashrc.arch ~/.bashrc.arch
|
||||||
|
|
||||||
# setup git
|
# setup git
|
||||||
git config --global user.email "46619361+juancwu@users.noreply.github.com"
|
git config --global user.email "46619361+juancwu@users.noreply.github.com"
|
||||||
git config --global user.name "jc"
|
git config --global user.name "jc"
|
||||||
|
|
||||||
|
# clone the alacritty themes repository
|
||||||
|
git clone git@github.com:alacritty/alacritty-theme.git ~/ghq/alacritty/alacritty-theme
|
||||||
|
|
||||||
# install gh cli
|
# install gh cli
|
||||||
if command_exists "gh"; then
|
if command_exists "gh"; then
|
||||||
echo "gh detected, skip installation."
|
echo "gh detected, skip installation."
|
||||||
|
|
@ -86,3 +92,5 @@ else
|
||||||
rm -r asa_tmp
|
rm -r asa_tmp
|
||||||
echo "Remember to set the ASA_LAT and ASA_LNG variables in .bashrc"
|
echo "Remember to set the ASA_LAT and ASA_LNG variables in .bashrc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "source ~/.bashrc.arch" >> ~/.bashrc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue