Skip to content

Commit b23e675

Browse files
committed
flux-jobs: update cute format
Problem: The cute format in flux-jobs is not cute enough! Solution: Update the format to use id.emoji over id.f58. Utilize the expandable width prefix ("+:") and "W" presentation type to get output to align more nicely.
1 parent ebe973d commit b23e675

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmd/flux-jobs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ class FluxJobsConfig(UtilConfig):
4848
"cute": {
4949
"description": "Cute flux-jobs format string (default with emojis)",
5050
"format": (
51-
"{id.f58:>12} ?:{queue:<8.8} +:{username:<8} {name:<10.10+} "
52-
"{status_emoji:>5.5} {ntasks:>6} {nnodes:>6h} "
51+
"+:{id.emoji:>12W} ?:{queue:<8.8} +:{username:<8} {name:<10.10+} "
52+
"+:{status_emoji:>5W} {ntasks:>6} +:{nnodes:>6h} "
5353
"{contextual_time!F:>8h} {contextual_info}"
5454
),
5555
},

0 commit comments

Comments
 (0)