summaryrefslogtreecommitdiff
path: root/ar/.config/zsh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-06 12:58:53 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-06 12:58:53 +0900
commita28ddb4b2135c42da551e7ef115c67b8d781356e (patch)
tree3f98e4fa6333f355ba697e0a27dc34d99763a08e /ar/.config/zsh
parent80ba29c0e8557a6ac2905cdb4468562a312841e6 (diff)
modified shell/profile, modified zsh/scripts.zsh
Diffstat (limited to 'ar/.config/zsh')
-rw-r--r--ar/.config/zsh/scripts.zsh12
1 files changed, 10 insertions, 2 deletions
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
@@ -617,6 +615,16 @@ fi
###########################################################################################
###########################################################################################
+### --- SDCV --- ###
+function def() {
+ sdcv -n --utf8-output --color "$@" 2>&1 | \
+ fold --width=$(tput cols) | \
+ less --quit-if-one-screen -RX
+}
+
+
+###########################################################################################
+###########################################################################################
### --- STOW --- ###
# run stow script from dotfiles repo
alias dstw=dotfeils_stw