1
0
Fork 0

Autocommitted updated scripts from mari-wovn

main
Mari 4 years ago
parent 2215a97835
commit cb4f635156
  1. 15
      bash_aliases.sh

@ -90,11 +90,24 @@ function bashreload()
function man ()
{
command man "$@" 2>/dev/null || builtin help -m "$@" 2>/dev/null || command man "$@"
if command man "$@" >&/dev/null; then
command man "$@"
elif builtin help -m "$@" >&/dev/null; then
builtin help -m "$@" | less
else
command man "$@"
fi
}
function help ()
{
if builtin help -m "$@" >&/dev/null; then
builtin help "$@" | less
elif command man "$@" >&/dev/null; then
command man "$@"
else
builtin help -m "$@"
fi
builtin help -m "$@" 2>/dev/null || command man "$@" 2>/dev/null || builtin help -m "$@"
}

Loading…
Cancel
Save