9
rated 0 times
[
9]
[
0]
/ answers: 1 / hits: 7187
/ 1 Year ago, wed, december 7, 2022, 9:50:00
I can't remember where, but I've already seen the bash prompt's current path shortened in an interesting way: every directory contained in the path (excepted the last one) is replaced by its first letter only. For instance: path/to/some/directory
would be shortened to p/t/s/directory
.
How can I reproduce that behavior ?
More From » command-line