From 66b36740b0a99da11d2f66f859b327a7d44b3c65 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Wed, 25 Jul 2018 10:13:46 -0500 Subject: [PATCH] nac sets up alias denac, ____denac unaliases denac --- .bash_env | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bash_env b/.bash_env index 6a8de06..b3e2231 100644 --- a/.bash_env +++ b/.bash_env @@ -34,6 +34,7 @@ nac () { ____denac return 1 fi + alias denac='deactivate_node' alias deactivate_node='__denac' case $- in *i*) __npm_completion \ @@ -60,6 +61,7 @@ __denac () { export -f __denac ____denac () { + unalias denac &> /dev/null unalias deactivate_node &> /dev/null if type deactivate_node &> /dev/null; then deactivate_node