We all know this. We need to do a specific task and with the help of the internet we find a specific tool alongside command line parameters to do the job right from the shell.

What is a good way of collecting/documenting these snippets on your own for future reference and use? Just a text file in the home folder?

  • torgeir@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    I put mine as zsh autoloads. This way feels almost as light as creating aliases once set ut, and also allows for the scripts to have slow initializing code and still be readily available, without having to load everything immediately when zshrc loads and wait for it all the time, even when you might not need it.