From af4719fbb6a80138e7c17952ad525b497567d0c7 Mon Sep 17 00:00:00 2001 From: Lazarus Lazaridis Date: Mon, 5 Mar 2018 15:26:20 +0200 Subject: [PATCH] Don't print list when cleaning up. --- goto.bash | 1 - 1 file changed, 1 deletion(-) diff --git a/goto.bash b/goto.bash index 026220d..1f54cc8 100644 --- a/goto.bash +++ b/goto.bash @@ -143,7 +143,6 @@ function _goto_unregister_alias # Unregisters aliases whose directories no longer exist. function _goto_cleanup() { - sed '/^\s*$/d' ~/.goto while IFS='' read -r entry || [[ -n "$entry" ]]; do al=$(echo $entry | sed 's/[\t ].*//') dir=$(echo $entry | sed 's/[^ ]* //')