From 0fb126bd4b4456efff9a36e4a7048caa10335e18 2014-05-07 23:31:44 From: Steve Chan Date: 2014-05-07 23:31:44 Subject: [PATCH] Remove -i options from mv, rm and cp aliases This was arguably useful in the terminal, but it means these aliases can't be used from any of the ZMQ frontends. And users familiar with the shell shouldn't find the default (non -i) behaviour surprising. Closes gh-5729, which accidentally included an unrelated change. --- diff --git a/IPython/core/alias.py b/IPython/core/alias.py index eb85122..040fad5 100644 --- a/IPython/core/alias.py +++ b/IPython/core/alias.py @@ -50,7 +50,7 @@ def default_aliases(): if os.name == 'posix': default_aliases = [('mkdir', 'mkdir'), ('rmdir', 'rmdir'), - ('mv', 'mv -i'), ('rm', 'rm -i'), ('cp', 'cp -i'), + ('mv', 'mv'), ('rm', 'rm'), ('cp', 'cp'), ('cat', 'cat'), ] # Useful set of ls aliases. The GNU and BSD options are a little