Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot store aliases #2586

Closed
pbienst opened this issue Nov 15, 2012 · 2 comments
Closed

cannot store aliases #2586

pbienst opened this issue Nov 15, 2012 · 2 comments
Milestone

Comments

@pbienst
Copy link

pbienst commented Nov 15, 2012

alias my_alias ls
store my_alias
Alias stored: my_alias (ls)
ipython
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.

IPython 0.13.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.

In [1]: my_alias

NameError Traceback (most recent call last)
in ()
----> 1 my_alias

NameError: name 'my_alias' is not defined

@takluyver
Copy link
Member

Things aren't loaded from the store by default. You can use %store -r to load variables from the store, or... we're supposed to have a config value to enable autorestore, but I've just gone looking, and someone appears to have removed it.

@minrk
Copy link
Member

minrk commented Jul 6, 2013

Also %store -r didn't restore aliases until your recent fix. Closing as fixed.

@minrk minrk closed this as completed Jul 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants