Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 1998 09:54:51 -0500 (CDT)
From:      Mark Tinguely <tinguely@plains.NoDak.edu>
To:        questions@FreeBSD.ORG, sandy@divre5.telkom.co.id
Subject:   Re: Repeating last command
Message-ID:  <199805181454.JAA07505@plains.NoDak.edu>

next in thread | raw e-mail | index | archive | help
>  I want to make my terminal.....support repeating last command
>  by pressing up arrow?
>  how can i do that?

that is a shell issue. in sh (or bash), place the following command in your
.profile (or in bash, .bash_profile):

set -o emacs

the next time you log in, your arrow key should scroll you through the
last commands.

--mark.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805181454.JAA07505>