Similar to group-by but meant to perform grouping and aggregation based on parameters provided.
Inspired by https://github.com/sflanaga/csv-groupby
- group by one or more column names
- have either sub commands or parameters for
Similar to group-by but meant to perform grouping and aggregation based on parameters provided.
# emulate the python rich print | |
# test case 1: pr "hello world" | |
# test case 2: pr "hello world" --style bold | |
# test case 3: pr "hello world" --style 'bold underline' | |
# test case 4: pr "hello world" --style 'dim italic red' | |
def pr [ | |
msg, | |
--style: string, | |
] { | |
let style = if $style == null { |
default_config.nu
and default_env.nu
refer to the files that are compiled inside of the nushell executable and are also located in our repo.personal env.nu/config.nu/login.nu
refer to the files that are in the $nu.default-config-dir
that you have personally edited.specified config.nu/env.nu
refer to files that are specified on the command line with the --config
and --env-config
command line parameters.personal plugin.msgpackz
file if it existsOSC 4 ; -2; ? ST //bg
OSC 4 ; -1 ; ? ST //fg
OSC 4 ; -2 ; rgb : [red] / [green] / [blue] ST
OSC 4 ; -1 ; rgb : [red] / [green] / [blue] ST
OSC 6 ; 1 ; bg ; red ; brightness ; [N] ST
OSC 6 ; 1 ; bg ; green ; brightness ; [N] ST
OSC 6 ; 1 ; bg ; blue ; brightness ; [N] ST
# Language support configuration. | |
# See the languages documentation: https://docs.helix-editor.com/master/languages.html | |
[language-server] | |
awk-language-server = { command = "awk-language-server" } | |
bash-language-server = { command = "bash-language-server", args = ["start"] } | |
bass = { command = "bass", args = ["--lsp"] } | |
bicep-langserver = { command = "bicep-langserver" } | |
bufls = { command = "bufls", args = ["serve"] } |
Originally when I wrote the $db
PR, I went in knowing that other commands would be needed. The concept is to have an in-memory sqlite database available to you at any time to store anything you want. I just chose $db
because it was very nushell-y and easily accessible.
An alternative that I came up with was to have a command named stor
with subcommands. stor
without and e
because you don't get groceries from it. :) We can name it whatever, but for now, it's stor
. The idea behind the stor
family of commands is that they provide a way to interact with the in-memory database.