4 files changed,
9 insertions(+),
4 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2026-04-12 00:01:27 +0300
Parent:
0f28172
jump to
| M | bin/arch-upd |
| M | config/fish/config.fish |
| M | config/git/ignore |
| A | config/rgrc |
M
bin/arch-upd
··· 1 1 #!/usr/bin/env bash 2 2 # shellcheck disable=SC2046 3 3 4 +sudo -v 5 +# Keep sudo alive for the duration of the script 6 +while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & 7 + 4 8 sudo pacman -Syu --noconfirm 5 9 paru -Sua --noconfirm 6 10 sudo pacman -Rns $(pacman -Qdtq) --noconfirm
M
config/fish/config.fish
··· 1 1 set -gx GOPATH $HOME/go 2 2 set -gx GOBIN $GOPATH/bin 3 3 4 -set -gx OPAMROOT $HOME/.local/share/opam 5 4 set -gx CARGO_HOME $HOME/.local/share/cargo 6 -set -gx RUSTUP_HOME $HOME/.local/share/rustup 7 - 8 -set -gx NIX_PATH $HOME/.local/nix 9 5 set -gx LEDGER_FILE "$HOME/org/finance/"(date +%Y)".journal" 6 +set -gx NIX_PATH $HOME/.local/nix 7 +set -gx OPAMROOT $HOME/.local/share/opam 8 +set -gx RIPGREP_CONFIG_PATH $HOME/.config/rgrc 9 +set -gx RUSTUP_HOME $HOME/.local/share/rustup 10 10 11 11 fish_add_path -g $GOBIN 12 12 fish_add_path -g $CARGO_HOME/bin