From 34947c4f0f5a0f837ad33d27b402fb3020c1a638 Mon Sep 17 00:00:00 2001 From: Martin Kemp Date: Wed, 18 Mar 2015 10:56:25 +0000 Subject: [PATCH] Fix the /d flag Was deleted in last commit. --- bin/alias.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/alias.bat b/bin/alias.bat index 9653bbc..3785621 100644 --- a/bin/alias.bat +++ b/bin/alias.bat @@ -5,7 +5,8 @@ set ALIASES=%CMDER_ROOT%\config\aliases if ["%*"] == [""] echo Use /? for help & echo. & goto :p_show if ["%1"] == ["/?"] goto:p_help if ["%1"] == ["/reload"] goto:p_reload - +:: /d flag for delete existing alias +if ["%1"] == ["/d"] goto:p_del %* :: if arg is an existing alias, display it if ["%2"] == [""] ( doskey /macros | findstr /b %1= && goto:eof