From d4f04ab9aa0fd9c010affe76312c0dbcac7ef48a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 12 Oct 2023 23:54:10 +0200 Subject: c --- root/.bash_aliases | 2 ++ root/.vimrc | 1 + root/posodobi.sh | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'root') diff --git a/root/.bash_aliases b/root/.bash_aliases index 806d572..65c81d7 100644 --- a/root/.bash_aliases +++ b/root/.bash_aliases @@ -73,3 +73,5 @@ function d () { fi } alias de='docker exec -it `docker ps | tail -n1 | cut -d\ -f1` /bin/bash' +[ -d ~/projects/r/skripti ] && PATH=$PATH:~/projects/r/skripti +export XMLLINT_INDENT=$'\t' diff --git a/root/.vimrc b/root/.vimrc index 9397cac..d8bc435 100644 --- a/root/.vimrc +++ b/root/.vimrc @@ -238,3 +238,4 @@ let g:rust_recommended_style = 0 set modeline set modelines=5 set modelineexpr +au FileType xml setlocal equalprg=xmllint\ --format\ --recover\ -\ 2>/dev/null diff --git a/root/posodobi.sh b/root/posodobi.sh index b7f7216..9f75dd4 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -25,7 +25,7 @@ grep "no-sync" <<<"$@" || /usr/sbin/emaint sync --auto grep "no-ask" <<<"$@" || a=--ask grep "colo" <<<"$@" || f="$f --color y" [ `hostname` = varovalka ] && f="$f --exclude=media-libs/mesa" -emerge --tree --verbose --update $f $a --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries --autounmask --autounmask-write @world +emerge --tree --verbose --update $f $a --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries --autounmask --autounmask-write --autounmask-backtrack=y @world emerge --verbose $f --autounmask-write --autounmask @preserved-rebuild emerge --depclean $f /root/linux/dist.sh -- cgit v1.2.3