Skip to content

Commit

Permalink
bash: aliases: add prefix to xsource
Browse files Browse the repository at this point in the history
Signed-off-by: Liam Beguin <[email protected]>
  • Loading branch information
liambeguin committed Jun 11, 2020
1 parent fb96194 commit dbde162
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bash/aliases.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dbde162

Please sign in to comment.