From 1ea519c6ba034b3bac68565d7e5643b64e9862d5 Mon Sep 17 00:00:00 2001 From: nfnty Date: Thu, 2 Feb 2017 01:45:51 +0100 Subject: Partially revert "config.commands.alias: Prohibit creation of alias with name 'alias'" This partially reverts commit f495a97be986236f184b2a4f4edc5b451d409e72 Misunderstood #537 --- ranger/config/commands.py | 4 ---- 1 file changed, 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 ', 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)) -- cgit 1.4.1-2-gfad0