summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
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