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"