• 1 Post
  • 23 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).













  • I’ve gone back and forth between a common bashrc file in my Dropbox folder that is symlinked to ~/.bashrc on my devices, and one that is imported from a regular bashrc instead, and recently it ended up in a state where it accidentally tried to do both, resulting in an endless loop. I discovered this on my Pop!_OS PC, which reacted to this situation by crashing on login lol. What??



  • If you have access to Disney+ or piracy, watching a couple of (they’re eight minutes long) episodes of the show Bluey would probably charm your butt off and also give you a lot to go on for fun ways to engage with kids.

    It’s all about being real and in the moment, and giving them ways to experience novelty. A parenting book my partner was reading reminded her that all you need to do to engage a (toddler, but the point stands) child’s interest is to turn the laundry basket upside down. Everything that’s dull to you is new to them (and everything that’s exciting to you, they’re often not ready for yet).