Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
feat: nix-shell prompt Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmS67NsACgkQuFOtpdp7 v3q4DQ/+OaQxkZ8DOZJ1nUCBYyN5QbWjF83LhH67/cX9uZJ42S4zMRjPTyrgR+Ny V+zOMa3uwXjrHgfqGX9QR35p9cxFudoCommSB8RDsWwCJdEDppl0cLtEoAIHP6Ca E9ZEoKtXIkx8eadaOyw5JvUyMpBOdP2wugass2Mo13dri3Iznt9C9Hm7K11/Ih0c Of5GRNyI1AukhBKQb31MUrXKb7rqvk3uPWuLLPvYAel2+NjSub6yAJeuqNywusH9 0VcdVWwdYowXhhEl/j8QT2r8tD2wDZJyyHBqBkvfdeBR8dtZVmODr5sEoy6/4GdU ltqlxlQXVVGqtErHpLAXFoAKTY8uhq8qkcAHXz4Nx6bQpCuLWaJXuHWk+G6fwp3q g6sfuarCKHWhbpAf1Oh/ZBnTzyX/7SpaQeI8Kg714PdNVMxxvITKslnrouVlIv1d XkaOZ/yo8wme6TcF4agkiLsbn4bKzfRsYZEBSp5roZMgSzvdXJ5/G6GWvD2NT8mg 1pxNBTvycQFPMQWHagUIzCHC0dCfB9Gf0OGzmUxThCfBK9hS30KKRUR6T7Xxt9Q4 B5nO8lwHz2PbVa3DDMDfCQ06QblBLdj27Sic4q4MbQq2/xk/SQ4p2QIws2Qu02Fm BZvFxMcyOmBPQ6qsHSH2Sni0ueOjblGDVGttcwts0iFJ92pE5k0= =zEBG -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
1 year ago
2 changed files, 2 additions(+), 1 deletions(-)
M apps/nushell.nix -> apps/nushell.nix
diff --git a/apps/nushell.nix b/apps/nushell.nix
index 99c5f26ee54a25306c1dc3f20dcce90a541eda8f..60845ab2001b297ca9a59da8687e148620dff5f3 100644
--- a/apps/nushell.nix
+++ b/apps/nushell.nix
@@ -9,6 +9,7 @@       find = "fd";
       df = "duf";
       du = "dust -b -d 1";
       ll = "ls -al";
+      nix-shell = "nix-shell --run nu";
     };
     extraConfig = ''
       use ${pkgs.nu_scripts}/share/nu_scripts/custom-completions/bitwarden-cli/bitwarden-cli-completions.nu *
M apps/ohmyposh/config.json -> apps/ohmyposh/config.json
diff --git a/apps/ohmyposh/config.json b/apps/ohmyposh/config.json
index 865c81505105e8444615f6c30e89792b872f8e5c..3ce79215fa40369d83026d47a29143e75f90b386 100644
--- a/apps/ohmyposh/config.json
+++ b/apps/ohmyposh/config.json
@@ -12,7 +12,7 @@           "properties": {
             "display_host": false
           },
           "style": "diamond",
-          "template": " {{ if .SSHSession }}\udb80\udf18 {{ end }}{{ .UserName }}@{{ .HostName }} ",
+          "template": " {{ if .SSHSession }}\udb80\udf18 {{ end }}{{ if .Env.IN_NIX_SHELL }}\udb84\udd05 {{ end }}{{ .UserName }}@{{ .HostName }} ",
           "trailing_diamond": "\ue0b0",
           "type": "session"
         },