Terminal Guide

(used by other terminals)

ESC1B ]5D 133731 33 33 37 ;CurrentDir=3b 43 75 72 72 65 6e 74 44 69 72 3d dir ESC1B \5C
other

other ( )

iterm2: Set current directory https://iterm2.com/documentation-escape-codes.html