diff options
| -rw-r--r-- | ar/.config/zsh/scripts.zsh | 2 |
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 |
