##// END OF EJS Templates
no auto_alias in %redashdir...
vivainio -
r543:24380b1a
parent child
Show More
@@ -98,7 +98,7 def rehashdir_f(self,arg):
98 self.shell.alias_table_validate()
98 self.shell.alias_table_validate()
99 # Call again init_auto_alias() so we get 'rm -i' and other
99 # Call again init_auto_alias() so we get 'rm -i' and other
100 # modified aliases since %rehashx will probably clobber them
100 # modified aliases since %rehashx will probably clobber them
101 self.shell.init_auto_alias()
101 # self.shell.init_auto_alias()
102 finally:
102 finally:
103 os.chdir(savedir)
103 os.chdir(savedir)
104 ip.expose_magic("rehashdir",rehashdir_f)
104 ip.expose_magic("rehashdir",rehashdir_f)
@@ -15,7 +15,7 import os,textwrap
15
15
16 import ipy_defaults
16 import ipy_defaults
17
17
18 def main():
18 def main():
19 ip = ipapi.get()
19 ip = ipapi.get()
20 o = ip.options
20 o = ip.options
21 # autocall to "full" mode (smart mode is default, I like full mode)
21 # autocall to "full" mode (smart mode is default, I like full mode)
@@ -29,6 +29,10 def main():
29 except ImportError:
29 except ImportError:
30 pass
30 pass
31
31
32 # beefed up %env is handy in shell mode
33 import envpersist
34
35
32 ip.ex('import os')
36 ip.ex('import os')
33 ip.ex("def up(): os.chdir('..')")
37 ip.ex("def up(): os.chdir('..')")
34
38
@@ -1,3 +1,11
1 2007-03-14 Ville Vainio <vivainio@gmail.com>
2
3 * Extensions/ext_rehashdir.py: Do not do auto_alias
4 in %rehashdir, it clobbers %store'd aliases.
5
6 * UserConfig/ipy_profile_sh.py: envpersist.py extension
7 (beefed up %env) imported for sh profile.
8
1 2007-03-10 Walter Doerwald <walter@livinglogic.de>
9 2007-03-10 Walter Doerwald <walter@livinglogic.de>
2
10
3 * IPython/Extensions/ipipe.py: Prefer ibrowse over igrid
11 * IPython/Extensions/ipipe.py: Prefer ibrowse over igrid
General Comments 0
You need to be logged in to leave comments. Login now