Use basename when listing servers for abra new
This commit is contained in:
parent
5df3a9fffb
commit
3b730d314b
2
abra
2
abra
@ -414,7 +414,7 @@ sub_app_new (){
|
|||||||
|
|
||||||
echo -n "$(tput setaf 4)"
|
echo -n "$(tput setaf 4)"
|
||||||
for i in "${!SERVERS[@]}"; do
|
for i in "${!SERVERS[@]}"; do
|
||||||
printf " %s)\t%s\n" "$i" "${SERVERS[$i]}"
|
printf " %s)\t%s\n" "$i" $(basename "${SERVERS[$i]}")
|
||||||
done
|
done
|
||||||
echo -n "$(tput sgr0)"
|
echo -n "$(tput sgr0)"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user