repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

nu: new syntax for setting config

b2831bab0b69764f8d80edf451a7ca89462eac80

Oliver Jan Krylow <olver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (3)

nushell/config.nu

Modified
66 66 # The default config record. This is where much of your global configuration is setup.
67 -let $config = {
67 +let-env config = {
68 68 filesize_metric: false
69 69 table_mode: light # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
70 70 use_ls_colors: true
267 267 event: { send: menu name: commands_with_description }

nushell/modules/aliases.nu

Modified
1 1 # Semantic aliases
2 2 export alias view = bat
3 3 export alias list = exa --group-directories-first --classify --all --long --icons --git
4 -export alias tree = exa --tree
4 +export alias tree = exa --tree --group-directories-first
5 5 export alias look = xplr
6 6 export alias browse = firefox
7 7 export alias edit = hx

tools/cargo_tools.nu

Modified
40 40 hx --grammar build
43 -export def install[] {
43 +def main [] {
44 44 cargo install --locked $cargo_crates
45 45 cargo install --locked nu --all-features
46 46 $cargo_git_crates | each {|it| cargo install --locked --git $it }