"Tom Scogland" <[EMAIL PROTECTED]> writes:

> Actually I use vim for that these days.  I have an alias that starts
> vim and runs ":Man <arguments>"  whenever I run man. 

For Emacs' M-x shell, I have this in .bashrc:

    if test -z "$EMACS$INSIDE_EMACS"
    then
        : [...]
    else
        PS1='$ '                   # be brief in M-x shell
        export PAGER=cat           # fuck you, git-log!
        if which man &>/dev/null
        then man () { twb-emacsclient -e "(man \"$1\" t)"; }
        else man () { twb-emacsclient -e "(woman \"$1\" t)"; }
        fi
        info () { twb-emacsclient -e "(info \"${2+(}$1${2+)$2}\")"; }
    fi



_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to