diff --git a/users/tao/nushell/extras/nix.nu b/users/tao/nushell/extras/nix.nu index 883c9f5..2d3cb71 100644 --- a/users/tao/nushell/extras/nix.nu +++ b/users/tao/nushell/extras/nix.nu @@ -1,7 +1,8 @@ alias nd = nix develop -def ns [package] { - nix shell $"nixpkgs#($package)" +def ns [...packages: string] { + let packages = $packages | each {$"nixpkgs#($in)"} + nix shell ...$packages } # def nr [package] { diff --git a/users/tao/nushell/extras/stuff.nu b/users/tao/nushell/extras/stuff.nu index bb5571b..f408222 100644 --- a/users/tao/nushell/extras/stuff.nu +++ b/users/tao/nushell/extras/stuff.nu @@ -32,7 +32,7 @@ def "snapper clear" [] { snapper delete $"($first.number)-($last.number)" } -const mode_path: path = "/sys/devices/platform/nct6775.656/hwmon/hwmon9/pwm2_enable" +const mode_path: path = "/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm2_enable" def quiet [] { match (hostname) { diff --git a/users/tao/starship.toml b/users/tao/starship.toml index c06880e..0700626 100644 --- a/users/tao/starship.toml +++ b/users/tao/starship.toml @@ -48,6 +48,7 @@ truncation_symbol = "…/" "pictures" = " " [rust] +disabled = true # # symbol = "" style = "bg:color_blue" format = '[[ $symbol($version) ](fg:color_fg0 bg:color_blue)]($style)'