From b6a19c591296a7f5d47029a68973b31d2ddcfe6b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 1 Oct 2022 00:54:28 +0200 Subject: [PATCH] reduce from 17 to 7 --- arch.sh | 2 +- arch_wsl.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch.sh b/arch.sh index 17f49d2..c6e70c8 100644 --- a/arch.sh +++ b/arch.sh @@ -103,7 +103,7 @@ then fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'" fish -c "abbr gc 'git clone'" fish -c "abbr cl 'cat src/**.* | sed \'/^\s*$/d\' | wc -l'" - fish -c "abbr mirrors_update \"curl -s 'https://archlinux.org/mirrorlist/?country=FR&country=GB&protocol=https&use_mirror_status=on' | sed -e 's/^#Server/Server/' -e '/^#/d' | sudo bash -c 'rankmirrors -n 17 - > /etc/pacman.d/mirrorlist' && sudo pacman -Syy\"" + fish -c "abbr mirrors_update \"curl -s 'https://archlinux.org/mirrorlist/?country=FR&country=GB&protocol=https&use_mirror_status=on' | sed -e 's/^#Server/Server/' -e '/^#/d' | sudo bash -c 'rankmirrors -n 7 - > /etc/pacman.d/mirrorlist' && sudo pacman -Syy\"" # Fish by default in terminal app profil=$(gsettings get org.gnome.Terminal.ProfilesList list) gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${profil:2:-2}"/ use-custom-command true diff --git a/arch_wsl.sh b/arch_wsl.sh index 9a5cda1..a16a934 100644 --- a/arch_wsl.sh +++ b/arch_wsl.sh @@ -125,7 +125,7 @@ then fish -c "abbr d 'explorer.exe .'" fish -c "abbr gc 'git clone'" fish -c "abbr cl 'cat src/**.* | sed \'/^\s*$/d\' | wc -l'" - fish -c "abbr mirrors_update \"curl -s 'https://archlinux.org/mirrorlist/?country=FR&country=GB&protocol=https&use_mirror_status=on' | sed -e 's/^#Server/Server/' -e '/^#/d' | sudo bash -c 'rankmirrors -n 17 - > /etc/pacman.d/mirrorlist' && sudo pacman -Syy\"" + fish -c "abbr mirrors_update \"curl -s 'https://archlinux.org/mirrorlist/?country=FR&country=GB&protocol=https&use_mirror_status=on' | sed -e 's/^#Server/Server/' -e '/^#/d' | sudo bash -c 'rankmirrors -n 7 - > /etc/pacman.d/mirrorlist' && sudo pacman -Syy\"" # === Micro configuration == git config --global core.editor "micro"