readded shell.sh
parent
85538fa17c
commit
be35eb7278
|
|
@ -0,0 +1,69 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo pacman -Syu zsh neovim curl pyright bash atftp bash-language-server btop clang fastfetch fzf hyfetch lua-language-server micro nano pulsemixer yazi z qrencode distrobox
|
||||
#cli dotfiles
|
||||
echo "Installing bash and zsh setting files"
|
||||
rm ~/.bashrc
|
||||
rm ~/.zshrc
|
||||
ln -s ~/Dotfiles/.bashrc ~/.bashrc
|
||||
ln -s ~/Dotfiles/.zshrc ~/.zshrc
|
||||
|
||||
rm -rf ~/.config/starship.toml
|
||||
ln -s ~/Dotfiles/starship.toml ~/.config/
|
||||
|
||||
rm -rf ~/.config/micro/
|
||||
cp -r ~/Dotfiles/micro/ ~/.config/
|
||||
|
||||
|
||||
#vim plug installer
|
||||
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
|
||||
rm -rf ~/.config/nvim/
|
||||
ln -s ~/Dotfiles/nvim/ ~/.config/
|
||||
cp ~/Dotfiles/nvim/cyberqueer.vim ~/.local/share/nvim/site/plugged/vim-airline-themes/autoload/airline/themes/
|
||||
|
||||
rm -rf ~/.config/yazi/
|
||||
ln -s ~/Dotfiles/yazi/ ~/.config/
|
||||
|
||||
rm -rf ~/.config/spotify-tui/
|
||||
ln -s ~/Dotfiles/spotify-tui/ ~/.config/
|
||||
|
||||
cp ~/Dotfiles/resources/fflogo.svg ~/Pictures/fflogo.svg
|
||||
|
||||
# Download and install nvm:
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
|
||||
|
||||
# in lieu of restarting the shell
|
||||
\. "$HOME/.nvm/nvm.sh"
|
||||
git config core.editor nvim
|
||||
# Download and install Node.js:
|
||||
nvm install 22
|
||||
|
||||
# Verify the Node.js version:
|
||||
node -v # Should print "v22.14.0".
|
||||
nvm current # Should print "v22.14.0".
|
||||
|
||||
# Verify npm version:
|
||||
npm -v # Should print "10.9.2".
|
||||
|
||||
#zsh setup
|
||||
echo '
|
||||
#starship setup
|
||||
echo "Installing Starship"
|
||||
curl -sS https://starship.rs/install.sh | sh
|
||||
|
||||
#ohmyzsh setup
|
||||
echo "Installing oh my zsh"
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
|
||||
#ohmyzsh plugins
|
||||
echo "Installing oh my zsh plugins"
|
||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
' | zsh
|
||||
|
||||
#zsh setup
|
||||
echo "Setting up zsh"
|
||||
chsh -s /usr/bin/zsh
|
||||
#homectl update --shell=/usr/bin/zsh
|
||||
|
||||
Loading…
Reference in New Issue