From 0fed5017449fafcd4ab113f3744b49eed8b43183 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Mon, 27 Sep 2021 11:18:37 +0200 Subject: [PATCH] config: little fixes --- .config/doom/config.el | 2 ++ .config/shell/functions | 10 +++++----- .config/yay/config.json | 4 ++-- .local/bin/scripts/edconf | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index 3bd7927..72f0f04 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -497,6 +497,8 @@ Version 2019-11-04 2021-02-16" (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 ispell-personal-dictionary (expand-file-name "personal-dictionary" custom-emacs-data-dir)) diff --git a/.config/shell/functions b/.config/shell/functions index bb68cbb..2fa526a 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -12,11 +12,11 @@ fi xdh="$XDG_DATA_HOME" xch="$XDG_CONFIG_HOME" if test -d "$DATA"; then - da=$(cd $DATA/_* && pwd) - d1=$(cd $DATA/1* && pwd) - d2=$(cd $DATA/2* && pwd) - d3=$(cd $DATA/3* && pwd) - d4=$(cd $DATA/4* && pwd) + da=$(builtin cd $DATA/_* && pwd) + d1=$(builtin cd $DATA/1* && pwd) + d2=$(builtin cd $DATA/2* && pwd) + d3=$(builtin cd $DATA/3* && pwd) + d4=$(builtin cd $DATA/4* && pwd) fi 2>/dev/null ulimit -c unlimited # Enable core dumps diff --git a/.config/yay/config.json b/.config/yay/config.json index be5fa56..e4fbc41 100644 --- a/.config/yay/config.json +++ b/.config/yay/config.json @@ -37,7 +37,7 @@ "cleanmenu": false, "diffmenu": true, "editmenu": false, - "combinedupgrade": false, + "combinedupgrade": true, "useask": false, - "batchinstall": true + "batchinstall": false } diff --git a/.local/bin/scripts/edconf b/.local/bin/scripts/edconf index 5c87ffe..2457d6b 100755 --- a/.local/bin/scripts/edconf +++ b/.local/bin/scripts/edconf @@ -7,7 +7,7 @@ listconf() { fd --hidden --type file --size -1m --max-depth 1 . ~; 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 \ - ! -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 }