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
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