summaryrefslogtreecommitdiff
path: root/ar/.config/zsh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-06 08:31:02 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-06 08:31:02 +0900
commitf549e766aabcbca0998a08dd85fd833ca7df882f (patch)
tree0210e367d5025cf8137026f63f1c6b9e2ae09c68 /ar/.config/zsh
parent90869c31eb6b29273cb44c0ff315826264da4107 (diff)
modified zsh/scripts.zsh
Diffstat (limited to 'ar/.config/zsh')
-rw-r--r--ar/.config/zsh/scripts.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ar/.config/zsh/scripts.zsh b/ar/.config/zsh/scripts.zsh
index 7f9600e..9341693 100644
--- a/ar/.config/zsh/scripts.zsh
+++ b/ar/.config/zsh/scripts.zsh
@@ -468,6 +468,8 @@ 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