Ask Your Question
1

numbered command history?

asked 2014-11-24 04:05:56 +0200

shad0w gravatar image

updated 2014-11-24 04:08:09 +0200

In this manual: http://www.sagemath.org/doc/tutorial/...

%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

Comments

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-25 00:30:36 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-11-29 07:41:14 +0200

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

Stats

Asked: 2014-11-24 04:05:56 +0200

Seen: 534 times

Last updated: Nov 29 '14