TIL: OMZ was overkill, i fixed that

i discovered that i had pretty much winnowed my oh-my-zsh use down to just needing it for the spiffy git prompt updates (i.e., letting me know i had staged/unstaged changes in the current directory hierarchy. turns out eliminating this from my setup was a lot easier than i was expecting. zsh has a really nice vcs_info module that just needs to be tickled into operation. Git - Git in Zsh had just enough to get me moving in the right direction and a little bit of reading the relevant documentation got me to a slightly nicer tweak of the setup....

October 31, 2024 · steve ulrich

rclone (remote) token update

when your super spiffy rclone setup needs a token refresh … ssh into the server remotely with the requisite port forwarding enabled. ssh -L 53682:localhost:53682 username@server update the token rclone config update <myremote> env_auth true do the needful with your OAuth provider meta location: minneapolis, mn weather: 🌫 (Mist) +64°F

December 3, 2022 · steve ulrich

TIL: y is not Y is not year, like you'd think

unicode date format patterns are a little more nuanced than the “standard” strftime() supported formats. note the difference between the following: man strftime (linux) %y The year as a decimal number without a century (range 00 to 99). (Calculated from tm_year) %Y The year as a decimal number including the century. (Calculated from tm_year) man strftime (osx) %Y is replaced by the year with century as a decimal number. %y is replaced by the year without century as a decimal number (00-99)....

December 30, 2019 · sulrich