Darren Schroeder

Results 2076 comments of Darren Schroeder

Technically, it's possible but I'm not sure we'll do this anytime soon. Creating a record and passing 20+ parameters in it sounds error prone. This is what I did in...

You could write a helper custom command similar to this one. ```nushell def grep-q [term file]: nothing -> bool { if (grep -q $term $file | complete).exit_code == 0 {...

> But in general, should the parser be changed I don't think so. I think it's working as designed. If you want to evaluate a sub-expression, it has to be...

I'm trying to understand what you're doing but missing the point. It looks like you're mixing internal and external commands with `f1`. What do you expect the output to look...

is this what you want? ```nushell ❯ def --wrapped f1 [...args] { print (bash -c 'ls'); echo "do something after the command" ; } ❯ f1 | cat CITATION.cff CODE_OF_CONDUCT.md...

Nushell doesn't understand bash scripts and is not POSIX compliant. I believe you'll need to write your scripts in nushell's scripting language.

I guess you'll need to find someone that uses tmux for further help. You can drop by our [Discord](https://discord.gg/NtAbbGn) I'm sure there are a few in there.

I thought @amtoine used tmux with nushell successfully. Maybe he can jump in?

I have no clue what `tmux send-keys $shell C-m` is even supposed to do. LOL. My guess is that the nushell evaluator is trying to run nushell since `$shell` =...