From a28ddb4b2135c42da551e7ef115c67b8d781356e Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 6 Feb 2025 12:58:53 +0900 Subject: modified shell/profile, modified zsh/scripts.zsh --- ar/.config/zsh/scripts.zsh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'ar/.config/zsh/scripts.zsh') diff --git a/ar/.config/zsh/scripts.zsh b/ar/.config/zsh/scripts.zsh index 9341693..0fa7397 100644 --- a/ar/.config/zsh/scripts.zsh +++ b/ar/.config/zsh/scripts.zsh @@ -468,8 +468,6 @@ function man() { local page=$(command man -k . | fzf --prompt='Man> ' --exit-0 | awk '{print $1}') if [[ -n $page ]]; then nvim +"Man $page | only" - else - echo "Need to run 'sudo mandb -c' to update mandb." fi fi else @@ -615,6 +613,16 @@ if ls "${ZPLUGINDIR:-${XDG_SCRIPTS_HOME:-${HOME}/.local/bin}/zsh}/zsh-autosugges fi +########################################################################################### +########################################################################################### +### --- SDCV --- ### +function def() { + sdcv -n --utf8-output --color "$@" 2>&1 | \ + fold --width=$(tput cols) | \ + less --quit-if-one-screen -RX +} + + ########################################################################################### ########################################################################################### ### --- STOW --- ### -- cgit v1.2.3