diff --git a/dotfiles/fish/alias.fish b/dotfiles/fish/alias.fish index 5359f3c..12b9435 100644 --- a/dotfiles/fish/alias.fish +++ b/dotfiles/fish/alias.fish @@ -160,12 +160,14 @@ abbr -g wcf 'wl-copy-f' # man ################################################################ +functions -q _man +or functions -c man _man + function man -w man test "$COLUMNS" -lt 80 and set -x MANWIDTH "$COLUMNS" or set -x MANWIDTH 80 - - command man $argv + _man $argv end ################################################################