From dbde1623fce4ccdebf219aa24c5545ccc1b4fb0c Mon Sep 17 00:00:00 2001 From: Liam Beguin Date: Thu, 11 Jun 2020 13:07:11 -0400 Subject: [PATCH] bash: aliases: add prefix to xsource Signed-off-by: Liam Beguin --- bash/aliases.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/bash/aliases.bash b/bash/aliases.bash index 891c94a..f5aee30 100644 --- a/bash/aliases.bash +++ b/bash/aliases.bash @@ -16,6 +16,7 @@ taredit() { xsource() { local version=$1 source /opt/Xilinx/SDK/$version/settings64.sh + _prefix add "${txtred}($version)${txtrst}" } test -d /opt/Xilinx/SDK/ && complete -W $(ls /opt/Xilinx/SDK/) xsource