So yess, wonderful readers, I just wrote a batch script, not bash script!
Batch is the language in which scripts for windows command prompt(cmd.ex...
For further actions, you may consider blocking this person and/or reporting abuse
A 3rd and more generic approach would be to use lua scripting through clink, the most insane supercharger for cmd. (Because cmd > ps :P)
In any case, anyone using cmd should absolutely check it out, it's got a lot of features.
Also, even though I don't use this (because I discovered clink after I solved these problems), this is how I do it:
I have gnu win32 tools installed, so ls, which, etc, and fzf/other tools are native windows exe s.
Then, I've created a new .cmd script for each complex command, and these are accessible from PATH.
…That's it, you might think it's tedious but I don't have that many commands to alias plus it's easy
Wow! That sounds really interesting! But can you run bash files through cmd directly now?
Ig my script wins over there : )
Yeah, everyone has bash.exe installed, probably from git or somewhere else - you can run bash scripts directly
Really helpful
Glad to know that ☺️
Nice article and explanation!
Glad you liked the content
Quite a nerdy work!! Good job!
Hehe, thanks swapnoneel!
Very good. Keep bashing your terminal for shortcuts. Very useful. See also Starlark