add pacman contrib and mirrosupdate abbr
This commit is contained in:
parent
a757addea4
commit
9c8147a93b
3 changed files with 5 additions and 2 deletions
1
arch.sh
1
arch.sh
|
@ -103,6 +103,7 @@ then
|
||||||
fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'"
|
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 gc 'git clone'"
|
||||||
fish -c "abbr cl 'cat src/**.* | sed \'/^\s*$/d\' | wc -l'"
|
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 by default in terminal app
|
# Fish by default in terminal app
|
||||||
profil=$(gsettings get org.gnome.Terminal.ProfilesList list)
|
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
|
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${profil:2:-2}"/ use-custom-command true
|
||||||
|
|
|
@ -14,7 +14,7 @@ then
|
||||||
pacman -R --noconfirm fakeroot-tcp
|
pacman -R --noconfirm fakeroot-tcp
|
||||||
|
|
||||||
# === Install packages ==
|
# === Install packages ==
|
||||||
pacman -S --noconfirm git wget zip openssh bat base-devel make python-pygments micro git-lfs npm sdl2_image nodejs fish autoconf valgrind automake python-virtualenv gdb tk sdl2_mixer exa texlive-most fzf glu man-pages-fr neofetch python-pip opam
|
pacman -S --noconfirm git wget zip openssh bat base-devel make python-pygments micro git-lfs npm sdl2_image nodejs fish autoconf valgrind automake python-virtualenv gdb tk sdl2_mixer exa texlive-most fzf glu man-pages-fr neofetch python-pip opam pacman-contrib
|
||||||
|
|
||||||
# === Colors package manager ==
|
# === Colors package manager ==
|
||||||
sed -i 's/#Color/Color/g' /etc/pacman.conf
|
sed -i 's/#Color/Color/g' /etc/pacman.conf
|
||||||
|
@ -125,6 +125,7 @@ then
|
||||||
fish -c "abbr d 'explorer.exe .'"
|
fish -c "abbr d 'explorer.exe .'"
|
||||||
fish -c "abbr gc 'git clone'"
|
fish -c "abbr gc 'git clone'"
|
||||||
fish -c "abbr cl 'cat src/**.* | sed \'/^\s*$/d\' | wc -l'"
|
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\""
|
||||||
|
|
||||||
# === Micro configuration ==
|
# === Micro configuration ==
|
||||||
git config --global core.editor "micro"
|
git config --global core.editor "micro"
|
||||||
|
|
|
@ -107,7 +107,8 @@
|
||||||
"bluez-utils",
|
"bluez-utils",
|
||||||
"vlc",
|
"vlc",
|
||||||
"discord",
|
"discord",
|
||||||
"opam"
|
"opam",
|
||||||
|
"pacman-contrib"
|
||||||
],
|
],
|
||||||
"plugin": null,
|
"plugin": null,
|
||||||
"profile": {
|
"profile": {
|
||||||
|
|
Loading…
Reference in a new issue