config: little fixes

This commit is contained in:
xeruf 2021-09-27 11:18:37 +02:00
parent 3607708476
commit 0fed501744
4 changed files with 10 additions and 8 deletions

View File

@ -497,6 +497,8 @@ Version 2019-11-04 2021-02-16"
(setq auto-revert-interval 2) (setq auto-revert-interval 2)
) )
(setq pdf-misc-print-programm "/usr/bin/lpr")
(setq custom-emacs-data-dir (expand-file-name "data" doom-private-dir)) (setq custom-emacs-data-dir (expand-file-name "data" doom-private-dir))
(setq ispell-personal-dictionary (expand-file-name "personal-dictionary" custom-emacs-data-dir)) (setq ispell-personal-dictionary (expand-file-name "personal-dictionary" custom-emacs-data-dir))

View File

@ -12,11 +12,11 @@ fi
xdh="$XDG_DATA_HOME" xdh="$XDG_DATA_HOME"
xch="$XDG_CONFIG_HOME" xch="$XDG_CONFIG_HOME"
if test -d "$DATA"; then if test -d "$DATA"; then
da=$(cd $DATA/_* && pwd) da=$(builtin cd $DATA/_* && pwd)
d1=$(cd $DATA/1* && pwd) d1=$(builtin cd $DATA/1* && pwd)
d2=$(cd $DATA/2* && pwd) d2=$(builtin cd $DATA/2* && pwd)
d3=$(cd $DATA/3* && pwd) d3=$(builtin cd $DATA/3* && pwd)
d4=$(cd $DATA/4* && pwd) d4=$(builtin cd $DATA/4* && pwd)
fi 2>/dev/null fi 2>/dev/null
ulimit -c unlimited # Enable core dumps ulimit -c unlimited # Enable core dumps

View File

@ -37,7 +37,7 @@
"cleanmenu": false, "cleanmenu": false,
"diffmenu": true, "diffmenu": true,
"editmenu": false, "editmenu": false,
"combinedupgrade": false, "combinedupgrade": true,
"useask": false, "useask": false,
"batchinstall": true "batchinstall": false
} }

View File

@ -7,7 +7,7 @@ listconf() {
fd --hidden --type file --size -1m --max-depth 1 . ~; fd --hidden --type file --size -1m --max-depth 1 . ~;
find "${XDG_CONFIG_HOME:-$HOME/.config}" /etc /var/lib/postgres /var/lib/pleroma/static/instance \ find "${XDG_CONFIG_HOME:-$HOME/.config}" /etc /var/lib/postgres /var/lib/pleroma/static/instance \
-maxdepth 4 -follow \( -name Partitions -o -name mdn -o -name .git -o -name .local \) -prune -o \ -maxdepth 4 -follow \( -name Partitions -o -name mdn -o -name .git -o -name .local \) -prune -o \
! -iname "*.xml" -a ! -iname "*.markdown" -a ! -iname "*.md" -a ! -iname "*.org" \ ! -iname "*.markdown" -a ! -iname "*.md" -a ! -iname "*.org" \
-type f -readable -exec grep -lI '' {} + 2>/dev/null; } | dedup -type f -readable -exec grep -lI '' {} + 2>/dev/null; } | dedup
} }