Ask Your Question

numbered command history?

asked 2014-11-23 21:05:56 -0500

shad0w gravatar image

updated 2014-11-23 21:08:09 -0500

In this manual:

%hist gives the history of numbered command

However, the sage I use does not seem to have this feature.

image description

Also the outputs in the manual are also numbered. Is there any way to enable this?

By the way, _oh does give a history of numbered outputs.

edit retag flag offensive close merge delete


I found a workaround on emacs: use sage-shell-mode + helm-sage, which provides a command to view sage command history. But I still want to know a native way to do this on sage.

shad0w gravatar imageshad0w ( 2014-11-24 17:30:36 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-29 00:41:14 -0500

wdoo gravatar image

%hist -n works for me. Also history -n ,the bash buildin.(I guess they are same things)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-11-23 21:05:56 -0500

Seen: 104 times

Last updated: Nov 29 '14