top | item 45428864

(no title)

DSpinellis | 5 months ago

Thank you for the suggestion. This would mean that you'd also then create some mapping from each name (like git_log) to its implementation, right?

discuss

order

esafak|5 months ago

Yes, using shell functions:

  git_log() {
    git log --pretty=tformat:'%at %ae'
  }
Separating function definitions allows you to run, test, and re-use them.

DSpinellis|5 months ago

And, more importantly, assign a name to a process, so that it can appear multiple times in the graph.