diff --git a/Formula/ed.rb b/Formula/ed.rb index 9b0bab1c80..3ccde513ba 100644 --- a/Formula/ed.rb +++ b/Formula/ed.rb @@ -23,6 +23,8 @@ class Ed < Formula (libexec/"gnubin").install_symlink bin/"g#{prog}" => prog (libexec/"gnuman/man1").install_symlink man1/"g#{prog}.1" => "#{prog}.1" end + + libexec.install_symlink "gnuman" => "man" end def caveats; <<~EOS @@ -30,10 +32,6 @@ class Ed < Formula If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc like: PATH="#{opt_libexec}/gnubin:$PATH" - - Additionally, you can access their man pages with normal names if you add - the "gnuman" directory to your MANPATH from your bashrc as well: - MANPATH="#{opt_libexec}/gnuman:$MANPATH" EOS end