summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-10-21 19:19:32 +1100
committerDylan Araps <dylan.araps@gmail.com>2018-10-21 19:19:32 +1100
commita3838e37e25dee5ecbc71a0ee859a5d0b196bde1 (patch)
treef4c0a53bd74c62c847528c8acc3fd222505d99ca
parent3a89023a8e35df22f6a205706a637e44fb24bce7 (diff)
print string instead of sequence
-rwxr-xr-xfff2
1 files changed, 1 insertions, 1 deletions
diff --git a/fff b/fff
index 1fa0ad4..76002f1 100755
--- a/fff
+++ b/fff
@@ -23,7 +23,7 @@ f_print() {
[[ $co == "${f[i]}" ]] && path="\\e[1m\\e[3${FFF_COL3:-6}m\\e[7m${f[i]}"
printf '\e[K%b\e[m\n' "$path"
}
- printf '\e[3%sm\e[%s;H\e[K\n\e[K%b\e[m\e[H' "${FFF_COL2:-7}" "$((LINES-2))" \
+ printf '\e[3%sm\e[%s;H\e[K\n\e[K%s\e[m\e[H' "${FFF_COL2:-7}" "$((LINES-2))" \
"${PWD/\/\//\/} (${l:-1}/$((c-1))) ${co:+${pr[*]}: ${co##*/} [p]}"
}