News for hackers. Stuff that matters.

bpmckenna

Re:Ask HN: Best Command-Line Applications? on Monday November 19, 2018 @06:32AM (#18485653)
Instead of your `..` aliases, I have this, which saves some copy-pasting.

    function up() { cd "$(printf '../'%.0s $(seq 1 "${1:-1}"))" && pwd; } #up 4 goes up 4 directories