diff options
author | nfnty <git@nfnty.se> | 2017-02-02 01:45:51 +0100 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2017-02-02 01:57:06 +0100 |
commit | 1ea519c6ba034b3bac68565d7e5643b64e9862d5 (patch) | |
tree | 2c9f2084513d1e39823c3899d87fa8bd6917f834 | |
parent | 13e58248f8b0c34d8e0b54429170cf9e05072d86 (diff) | |
download | ranger-1ea519c6ba034b3bac68565d7e5643b64e9862d5.tar.gz |
Partially revert "config.commands.alias: Prohibit creation of alias with name 'alias'"
This partially reverts commit f495a97be986236f184b2a4f4edc5b451d409e72 Misunderstood #537
-rwxr-xr-x | ranger/config/commands.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index e7ddb200..7c118143 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -106,10 +106,6 @@ class alias(Command): self.fm.notify('Syntax: alias <newcommand> <oldcommand>', bad=True) return - if self.arg(1) == 'alias': - self.fm.notify("Can't create alias with name 'alias'", bad=True) - return - self.fm.commands.alias(self.arg(1), self.rest(2)) |