[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I knew&forgot: .el allowing eg more, less (vi? top?) in *shell*
From: |
David Hansen |
Subject: |
Re: I knew&forgot: .el allowing eg more, less (vi? top?) in *shell* |
Date: |
Thu, 17 Apr 2008 22:53:36 +0200 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) |
On 17 Apr 2008 09:48:15 -0400 David Combs wrote:
> 1: What's the name of that .../lisp/xxx.el that allows you
> to run eg more, less, and other cursor-jumping programs
> within *shell*?
How about
viewfile ()
{
emacsclient -e "(view-file \"$1\")"
}
alias less=viewfile
in your .bashrc? Don't forget to (server-start).
David