Last active
February 6, 2025 08:49
-
-
Save StableAgOH/2b4805dddd4030b10c0bd296fbcc77b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i "s#https\?://mirror.msys2.org/#https://mirrors.bfsu.edu.cn/msys2/#g" /etc/pacman.d/mirrorlist* | |
pacman -Syu | |
pacman -Syu | |
pacman -S git zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
git config --global --add oh-my-zsh.hide-status 1 | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
sed -i 's/ZSH_THEME=.*/ZSH_THEME="lukerandall"/' ~/.zshrc | |
sed -i 's/plugins=.*/plugins=(zsh-autosuggestions zsh-syntax-highlighting)/' ~/.zshrc | |
git clone https://github.com/StableAgOH/nanorc.git | |
rm /etc/nanorc | |
ln -s ~/nanorc/.nanorc /etc/nanorc | |
ln -s ~/nanorc/nanorc /etc/.nano | |
pacman -S base-devel make man msys2-runtime-devel tree unzip \ | |
${MINGW_PACKAGE_PREFIX}-{android-tools,clang,clang-tools-extra,cmake,ffmpeg,gcc,gdb,make,scrcpy,texlive-full,typst,yt-dlp} | |
cpan YAML::Tiny | |
cpan File::HomeDir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment