improved artist view
This commit is contained in:
@@ -5,5 +5,5 @@ __preview_artist() {
|
||||
if [ ! "$desc" ]; then
|
||||
desc=$(mb_artist_discogs "$1" | $JQ -r '.profile' | sed 's/\[a=\([^]]*\)\]/\1/g')
|
||||
fi
|
||||
echo "$desc" | fold -s -w "$FZF_PREVIEW_COLUMNS" | $CAT
|
||||
printf "\n\n%s" "$desc" | tr -d '\r' | fold -s -w "$((FZF_PREVIEW_COLUMNS - 4))" | awk '{print " "$0" "}' | $CAT
|
||||
}
|
||||
|
Reference in New Issue
Block a user