• 0 Posts
  • 27 Comments
Joined 7 months ago
cake
Cake day: September 26th, 2024

help-circle
rss



  • I’m with the others: fd default syntax is easier to remember.

    And for the interactive search I’m using skim. With it I cd to the dir I want and Alt t to trigger fuzzy finding. There are also bindings to search for dir or in the history. The neat part is that results are inserted as is in the command line, no need to xargs or copy them. It also make the history look like I always know where the files I want are when in reality they are just fuzzy-found









  • I only have to “quotes” strings that contains globs. The rest mostly work or use the newer/recommanded way to do things for posix shells.

    But I must admit, I only use it interactively. For scripts I #!/bin/{,ba}sh. I will use something else once it won some/most the distro preinstalls (either nu, elvish, fish, but for now it’s sadly python).



  • I don’t know elvish, but I can’t get into nu. It is too different than what I learned (bash). I’m not sure I understand what they want to accomplish… Maybe I’m not the target, I use the shell to start commands as a dev, not as a devops or data guy…

    I also had a hard time using fish the first time I tried it. But since the version on Debian 10 I re-tried and now the only thing to know is “put the arguments in quotes if you want the command to do globbing”. With that you can use 99% of the commands you find on internet as is.





    1. You need a license
    2. usage should just be help (avoid extra step)
    3. connect does not exist (see add and cmd list)
    4. You can git clone <REPO> <DEST FOLDER>, no need to cd
    5. maybeCreateDir is not used each time, there are some mkdir
    6. “changes” is not a helpfull commit message. Accept an optional argument string and {MESSAGE:=change}
    7. Accept a different repo path
    8. set -euxo pipefail at the start of the script if you want to exit at any error. Some sort of bash strict mode
    9. shellcheck does not like iterating over ls’s output

    I’m too lazy to open issues/PR for all that, and I still need to learn stow. Hopfully this might help me ? (I don’t really need help with git that this sçript look to abstract too much for me.)