• 1 Post
  • 108 Comments
Joined 2 years ago
cake
Cake day: June 2nd, 2023

help-circle

  • I migrated to fish recently and at first I was really annoyed that I had to decompose my ~/.bash_aliases into 67 different script files inside ~/.config/fish/functions/, but (a) I was really impressed with the tools that fish gave me to quickly craft those script files (-

    ~> function serg
        sed -i -e "s/$1/$2/g" $(rg -l "$1")
    end
    ~> funcsave serg
    funcsave: wrote ~/.config/fish/functions/serg.fish
    

    ) - and (b) I realized it was something I ought to have done a while ago anyway.

    Anyway, all this to say that fish ships with a lot of cool, sensible & interesting features, and one of those features is a built-in place for where your user scripts should live. (Mine is a symlink to ~/Dropbox/config/fish_functions so that I don’t need to migrate them across computers).
















  • Eat heathy, and live a long life? Jesus christ, who has the energy for that?

    my energy isn’t a magic spell. it comes from my habits, diet, sleep, and social support network. I do my best to cultivate each of these. when I lived in a toxic place, I moved. my government is still evil (as it was last year) but sometimes, on good days, it seems like people are starting to wake up. that would be very consequential.

    I’m not perfect; I am drinking too much. so yeah I do get where you’re coming from. I used to drink too much soda, too, but it was not actually all thatdifficult to cut down from 3 a day to one a month. all my brain needed was one soda to look forward to, didn’t really matter when it was. and then once I got to that point, I was feeling sooo much better that there was a very clear mental map from drink-soda to feel-like-ass.