Earlier quoted context omitted.
I feel like I've trashed millions of files I shouldn't have with `rm` and trying to be clever with regular expressions.
Note: Normal shells use glob(7) expressions, not regular expressions.
Show HN: Inshellisense – IDE style shell autocomplete
51–60 of 161 posts
Re: Show HN: Inshellisense – IDE style shell autocomplete
#52Earlier quoted context omitted.
I've done this enough times I use `ls` first, then `rm`
Yeah, I generally will use `find . -name " My point was that I don't feel like Unix really stops you from doing destructive scary stuff. It seems like it's perfectly happy to let you break your machine.
Unixy tools tend do what you tell them, nothing more and nothing less. No confirmations, no output if successful, no progress bars, etc.
That's a feature in my mind, but I can see how it is easy to have your day ruined if you're expecting it to ask you again.
Re: Show HN: Inshellisense – IDE style shell autocomplete
#53ok. can someone explain to me. I've been using ctrl+r for god knows how long and it solves all my shell completion needs. is inshellisense for average users like me or more advanced users?
Re: Show HN: Inshellisense – IDE style shell autocomplete
#54I'd be curious how this compares with Fish, which has autocomplete as well. It's worked fantastic for me so far. Once you have it, it's hard to go back!
Re: Show HN: Inshellisense – IDE style shell autocomplete
#55Earlier quoted context omitted.
can you expand on this?
I think they meant "using the terminal (1980s)... but like 2020s-style (intellisense)" Y'know, because it's not like tons of people use the terminal on a daily basis in the modern era. /s
Re: Show HN: Inshellisense – IDE style shell autocomplete
#561980s... but like 2020s-style. Coming next: auto-complete for punch cards.
Re: Show HN: Inshellisense – IDE style shell autocomplete
#57Earlier quoted context omitted.
Yeah, I generally will use `find . -name " My point was that I don't feel like Unix really stops you from doing destructive scary stuff. It seems like it's perfectly happy to let you break your machine.
Exactly, which is why we check for ourselves instead of expecting it to hold our hand. Unixy tools tend do what you tell them, nothing more and nothing less. No confirmations, no output if successful, no progress bars, etc. That's a feature in my mind, but I can see how it is easy to have your day ruined if you're expecting it to ask you again.
Re: Show HN: Inshellisense – IDE style shell autocomplete
#58ok. can someone explain to me. I've been using ctrl+r for god knows how long and it solves all my shell completion needs. is inshellisense for average users like me or more advanced users?
Ctrl r is okay and it is a very convenient if you already typed the command.
Inshellisense seems to help with knowing what subcommands, flags and file paths are available, and it even provides a small docs helper for the flags and commands.
If you didn't try these tools, I'd encourage you take a look, it helped me a lot, especially when I work with tools whose commands I don't know by heart or used a while ago.
Re: Show HN: Inshellisense – IDE style shell autocomplete
#591980s... but like 2020s-style. Coming next: auto-complete for punch cards.
If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.
Re: Show HN: Inshellisense – IDE style shell autocomplete
#60Earlier quoted context omitted.
Exactly, which is why we check for ourselves instead of expecting it to hold our hand. Unixy tools tend do what you tell them, nothing more and nothing less. No confirmations, no output if successful, no progress bars, etc. That's a feature in my mind, but I can see how it is easy to have your day ruined if you're expecting it to ask you again.
I mostly agree, but sometimes I wish that `rm` would have default to "confirm before destroying", and add a flag like `-y` to not prompt, more or less like how `apt` works on Ubuntu.