Darren Schroeder

Results 2077 comments of Darren Schroeder

I think you should be able to use `$in` to make it a little easier. e.g. ```nushell $lscolors | transpose key value | update value {|c| convertcolor $c.value} | each...

I know this is a bit off-topic but I had this tucked away somewhere that seems to do something similar. So, I wanted to share. ![image](https://github.com/nushell/nushell/assets/343840/1e34ed55-5ee7-4650-9875-b4df61839b82)

I'm mostly against the idea. I'm not interested in recreating bash's hard to remember brevity symbology. But for arguments sake, powershell uses `%` as a shortcut for ForEach-Object.

I've definitely seen such things in discord. This is not what you're looking for but this shows how one can update the history db. ``` open $nu.history-path | query db...

seems like you could've iterated through your history.sql in nushell and used the `query db` command to insert each row instead of using sqlite3. i'm guessing that the sqlite3 method...

Here's a few PRs that show what/how Fernando did. https://github.com/nushell/nushell/pull/6217 https://github.com/nushell/nushell/pull/5466 https://github.com/nushell/nushell/pull/5417 https://github.com/nushell/nushell/pull/5343 https://github.com/nushell/nushell/pull/5307

Theoretically you could do things like `open some.sqlitedb` and `open some.csv` and use things like the `join` command to work together. Those PRs were just trying to show how we...

@NotTheDr01ds That's great! However, you will probably need to create some indexes too so that the sqlite history db doesn't slow down. This is what the schema looks like. You...

This is the table creation and indexes from reedline. I'm not quite sure about the sequence. Also, id is the primary key. ```rust db.execute_batch( " create table if not exists...

whoop! whoop! that would be great if it did! ya, i'm just doing an import so i bet that's "baked in" to that function call. it's so nice when things...