Small fixes

This commit is contained in:
Marko Korhonen 2020-12-25 10:59:03 +02:00
parent 9302f193ee
commit 27cba9af96
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
2 changed files with 5 additions and 14 deletions

View file

@ -130,21 +130,18 @@ update() {
all() { all() {
plugins plugins
{%@@ if profile == "Moria" @@%} {%@@ if profile == "Moria" @@%}
base --devel repo
docker-update docker-update
docker system prune --volumes docker system prune --volumes
{%@@ elif profile == "Mirkwood" @@%}
base --devel firefox-nightly
{%@@ else @@%} {%@@ else @@%}
base --devel paru
{%@@ endif @@%} {%@@ endif @@%}
flatpak update flatpak update
sudo awman-update sudo awman-update
} }
base() { repo() {
paru -Pw aur sync -Su --margs --noconfirm
paru -Syu $@
} }
plugins() { plugins() {
@ -171,9 +168,6 @@ update() {
all) all)
all all
;; ;;
base)
base
;;
plugins) plugins)
plugins plugins
;; ;;
@ -181,7 +175,7 @@ update() {
docker-update docker-update
;; ;;
*) *)
base $@ paru
;; ;;
esac esac
} }
@ -205,7 +199,6 @@ alias notify-send='notify-send --icon=alarm'
alias archiso='curl "http://mirror.rackspace.com/archlinux/iso/$(date +%Y.%m).01/archlinux-$(date +%Y.%m).01-x86_64.iso"' alias archiso='curl "http://mirror.rackspace.com/archlinux/iso/$(date +%Y.%m).01/archlinux-$(date +%Y.%m).01-x86_64.iso"'
# Update repository # Update repository
alias repoupdate='aur sync -Su --margs --noconfirm'
# encrypted tar's with zstd compression # encrypted tar's with zstd compression

View file

@ -28,13 +28,11 @@ host gondor
hostname gondor.korhonen.cc hostname gondor.korhonen.cc
port 22 port 22
User reekymarko User reekymarko
ForwardAgent yes
host anitta host anitta
HostName 10.200.200.4 HostName 10.200.200.4
port 22 port 22
user reekymarko user reekymarko
ForwardAgent yes
host takamaki host takamaki
HostName 10.200.200.5 HostName 10.200.200.5