From 8fde6f9de6c720cb890eae96e57e041aa51f265e Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Fri, 20 Jan 2023 08:41:07 +0100 Subject: [PATCH] config: little function fixes --- .config/doom/config.el | 2 +- .config/shell/functions | 1 + .local/bin/scripts/sy | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index a5fc8e5..87073e4 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -120,7 +120,7 @@ Version 2019-11-04 2021-02-16" :map ctl-x-map "8 SPC" (lambda () (insert-char "200B")) :map text-mode-map - :desc "Markdown to Zulip" "mam" "4dip + :desc "Markdown to Zulip" "mam" "gg4dip :%s/<\\/?span ?[^ >]*>//g :%s/\\n\\n\\n\\n//g :%s/<\\(http[^ \\n]+\\)>/\\1/g diff --git a/.config/shell/functions b/.config/shell/functions index 6d34afb..ee35d48 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -49,6 +49,7 @@ unalias rd 2>/dev/null # System help {{{1 +compdef tldr=man compdef help=man compdef h=help alias info='info --vi-keys' diff --git a/.local/bin/scripts/sy b/.local/bin/scripts/sy index 4df6339..bde8a57 100755 --- a/.local/bin/scripts/sy +++ b/.local/bin/scripts/sy @@ -14,4 +14,4 @@ case "$1" in (*) sudo -E sysyadm "$@";; esac sudo chown -R $USER /etc/yadm -sudo chmod ugo+rw /tmp/git -R +sudo chmod ugo+rw /tmp/git -R 2>/dev/null