From 5dd9b615f29e02b634c5358993d09687597ba984 Mon Sep 17 00:00:00 2001 From: Carlos Aldana Date: Tue, 24 Sep 2024 15:44:57 -0700 Subject: [PATCH] redirects from github to noisyserver --- fedora/dev.sh | 13 +++++---- fedora/main.sh | 2 +- nvim-reset.sh | 2 +- ubuntu/dev.sh | 62 +++++++++++++++++++++++++++++++++++++++++++ ubuntu/install-dev.sh | 16 +++++------ 5 files changed, 78 insertions(+), 17 deletions(-) create mode 100644 ubuntu/dev.sh diff --git a/fedora/dev.sh b/fedora/dev.sh index 356560b..6fbe2ca 100644 --- a/fedora/dev.sh +++ b/fedora/dev.sh @@ -25,7 +25,7 @@ sudo dnf install code -y sudo dnf copr enable zawertun/hack-fonts -y sudo dnf install hack-fonts -y -git clone http://www.github.com/noisycarlos/kitty +# git clone http://www.git.noisyserver.sbs/noisycarlos/kitty sudo npm i -g @railway/cli sudo npm i -g vercel @@ -36,12 +36,11 @@ cd ~/.config/ git config --global user.email "noisycarlos@hey.com" git config --global user.name "Carlos Aldana" -git clone https://github.com/noisycarlos/nvim -git clone https://github.com/noisycarlos/wezterm +git clone https://git.noisyserver.sbs/noisycarlos/nvim +git clone https://git.noisyserver.sbs/noisycarlos/wezterm rm -r lazygit -git clone https://github.com/noisycarlos/lazygit +git clone https://git.noisyserver.sbs/noisycarlos/lazygit -#git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm - -#git clone https://github.com/noisycarlos/kitty +#git clone https://git.noisyserver.sbs/tmux-plugins/tpm ~/.tmux/plugins/tpm +#git clone https://git.noisyserver.sbs/noisycarlos/kitty diff --git a/fedora/main.sh b/fedora/main.sh index 7c28b46..71c248a 100644 --- a/fedora/main.sh +++ b/fedora/main.sh @@ -38,4 +38,4 @@ sudo sh -c 'echo -e "[1password]\nname=1Password Stable Channel\nbaseurl=https:/ sudo dnf install 1password -y cd ~/.config/ -git clone https://github.com/noisycarlos/rofi +git clone https://git.noisyserver.sbs/noisycarlos/rofi diff --git a/nvim-reset.sh b/nvim-reset.sh index 974c261..a500636 100644 --- a/nvim-reset.sh +++ b/nvim-reset.sh @@ -6,4 +6,4 @@ nvim cd ~/.config sudo rm -rf nvim -git clone http://www.github.com/noisycarlos/nvim +git clone http://www.git.noisyserver.sbs/noisycarlos/nvim diff --git a/ubuntu/dev.sh b/ubuntu/dev.sh new file mode 100644 index 0000000..2d7cd7b --- /dev/null +++ b/ubuntu/dev.sh @@ -0,0 +1,62 @@ +sudo apt install zig -y +snap install nvim --classic + +sudo cp ../sesh /usr/bin +cp ../tmux.conf ~/.tmux.conf + +###### Node +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash +wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash +nvm install node +nvm install-latest-npm +######## + +sudo apt install golang-go -y +sudo apt install ripgrep -y +sudo apt install ruby -y +sudo apt install ruby-dev -y + +sudo add-apt-repository ppa:lazygit-team/release -y +sudo apt update + +LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') +curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" +tar xf lazygit.tar.gz lazygit +sudo install lazygit /usr/local/bin + +sudo apt install alacritty -y +sudo flatpak install org.wezfurlong.wezterm -y + +sudo apt install tmux -y + +sudo apt install software-properties-common +sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF +sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' +sudo apt update +sudo apt install code -y + +# sudo gem install solargraph + +##### nerd fonts +sudo apt install wget fontconfig && + wget -P ~/.local/share/fonts https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.zip && + cd ~/.local/share/fonts && unzip Meslo.zip && rm *Windows* && rm Meslo.zip && fc-cache -fv +###### + +npm install -g @railway/cli +npm install -g vercel +npm install -g vercel@latest + +cd ~/.config/ + +git clone http://www.git.noisyserver.sbs/noisycarlos/kitty +git config --global user.email "noisycarlos@hey.com" +git config --global user.name "Carlos Aldana" + +git clone https://git.noisyserver.sbs/noisycarlos/kitty +git clone https://git.noisyserver.sbs/noisycarlos/nvim +git clone https://git.noisyserver.sbs/noisycarlos/wezterm + +rm -r lazygit +git clone https://git.noisyserver.sbs/noisycarlos/lazygit +git clone https://git.noisyserver.sbs/tmux-plugins/tpm ~/.tmux/plugins/tpm diff --git a/ubuntu/install-dev.sh b/ubuntu/install-dev.sh index 892bfbb..2d7cd7b 100644 --- a/ubuntu/install-dev.sh +++ b/ubuntu/install-dev.sh @@ -39,8 +39,8 @@ sudo apt install code -y ##### nerd fonts sudo apt install wget fontconfig && - wget -P ~/.local/share/fonts https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.zip && - cd ~/.local/share/fonts && unzip Meslo.zip && rm *Windows* && rm Meslo.zip && fc-cache -fv + wget -P ~/.local/share/fonts https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.zip && + cd ~/.local/share/fonts && unzip Meslo.zip && rm *Windows* && rm Meslo.zip && fc-cache -fv ###### npm install -g @railway/cli @@ -49,14 +49,14 @@ npm install -g vercel@latest cd ~/.config/ -git clone http://www.github.com/noisycarlos/kitty +git clone http://www.git.noisyserver.sbs/noisycarlos/kitty git config --global user.email "noisycarlos@hey.com" git config --global user.name "Carlos Aldana" -git clone https://github.com/noisycarlos/kitty -git clone https://github.com/noisycarlos/nvim -git clone https://github.com/noisycarlos/wezterm +git clone https://git.noisyserver.sbs/noisycarlos/kitty +git clone https://git.noisyserver.sbs/noisycarlos/nvim +git clone https://git.noisyserver.sbs/noisycarlos/wezterm rm -r lazygit -git clone https://github.com/noisycarlos/lazygit -git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm +git clone https://git.noisyserver.sbs/noisycarlos/lazygit +git clone https://git.noisyserver.sbs/tmux-plugins/tpm ~/.tmux/plugins/tpm