From c4d03f75d075f0a7139108ab6b7e9017a86136c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Dudr?= Date: Sat, 25 Nov 2023 00:02:26 +0100 Subject: [PATCH] zsh: fix man --- dot_config/zsh/include/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_config/zsh/include/functions.zsh b/dot_config/zsh/include/functions.zsh index 0a2e928..985429e 100644 --- a/dot_config/zsh/include/functions.zsh +++ b/dot_config/zsh/include/functions.zsh @@ -27,7 +27,7 @@ pocompile() { } man() { - if [[ "$1" = -k ]]; then + if [[ "$1" = -k ]] || [[ "$1" = '---' ]] ; then command man "$@" elif [[ -n "$1" ]]; then vim man://$1