For anyone curious why I didn't use `pushd`/`popd`/`dirs` as the underlying datastore - when I wrote this about ~10 years ago now I was involved with a coding project at that time that required you to source an "environment" file that hijacked `pushd`, `popd`, etc. and used them under-the-hood. I wanted something of my own to manage my own personal stack of dirs without worrying about modifying the internal Bash `dirs` storage... so `bash-cdstack` was born.
For anyone curious why I didn't use `pushd`/`popd`/`dirs` as the underlying datastore - when I wrote this about ~10 years ago now I was involved with a coding project at that time that required you to source an "environment" file that hijacked `pushd`, `popd`, etc. and used them under-the-hood. I wanted something of my own to manage my own personal stack of dirs without worrying about modifying the internal Bash `dirs` storage... so `bash-cdstack` was born.
this much overwriting makes me so anxious that i'd try to compile a custom cd instead
Only negative thing about this is that I didn't know about this 10 years ago
Why (( to check ret as number instead of [[ -eq or [[ -gt or something else test.
Does not work that well with zoxide unfortunately.
The vim default colors dont really look so good on my phone with night light. Not sure if youre concerned about that, just a heads up
Nothing looks good with night light.
I tried without but still looked difficult to read. It's that harsh blue against the black.
Dark colors in terminal on a black are in general ass. Sometimes I just hate syntax highlighting and turn off it, just reading white text.
Succinct script. Nice
"cd -" does the same thing as "b", and it's built in.
they’re different - try running those commands twice and see where you end up