From 2cc3bd19f1e9437ad6b17838223a919051377516 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Fri, 5 Feb 2021 15:50:48 -0700 Subject: [PATCH] fixed issue with projects showing up multiple times in rnt usage script --- zsh/rentdynamics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/rentdynamics b/zsh/rentdynamics index cdb7cb7..88e3df6 100644 --- a/zsh/rentdynamics +++ b/zsh/rentdynamics @@ -317,6 +317,6 @@ RENT_DYNAMICS_MANAGE_PY_SHELL() { RENT_DYNAMICS_CHECK_PROJECT_USAGE() { echo "The regex $1 is found in the following projects/repositories:\n" - rg $1 $RD_PATH -l | sed 's/^.*w0ryn\/RentDynamics\///' | sed 's/\/.*$//' | uniq; + rg $1 $RD_PATH -l | sed 's/^.*w0ryn\/RentDynamics\///' | sed 's/\/.*$//' | sort | uniq; echo; }