summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-10-12 23:54:10 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-10-12 23:54:10 +0200
commitd4f04ab9aa0fd9c010affe76312c0dbcac7ef48a (patch)
tree6b6f21865c6c4719c5dc71019b0cdb71b43d00c9 /root
parentb (diff)
downloadn-d4f04ab9aa0fd9c010affe76312c0dbcac7ef48a.tar
n-d4f04ab9aa0fd9c010affe76312c0dbcac7ef48a.tar.gz
n-d4f04ab9aa0fd9c010affe76312c0dbcac7ef48a.tar.bz2
n-d4f04ab9aa0fd9c010affe76312c0dbcac7ef48a.tar.lz
n-d4f04ab9aa0fd9c010affe76312c0dbcac7ef48a.tar.xz
n-d4f04ab9aa0fd9c010affe76312c0dbcac7ef48a.tar.zst
n-d4f04ab9aa0fd9c010affe76312c0dbcac7ef48a.zip
Diffstat (limited to 'root')
-rw-r--r--root/.bash_aliases2
-rw-r--r--root/.vimrc1
-rwxr-xr-xroot/posodobi.sh2
3 files changed, 4 insertions, 1 deletions
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