Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
chore: update dev shell Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmS8Q4UACgkQuFOtpdp7 v3pyyBAAgflnqb8I+cuhY0T6sQiziUaELooSHSTDR2TJ1ew5yzrkz+0Kp+wBnuDp MZwJoeNuQIJY1FWqvh4nbXaaby+rTtvPxe/eZNib/qBSq+aqOyFGn+8YuYXJfxUz knw1zNXbSp25flStlfFqfkWqFD/q2mheM5weT4bDA/BS2CuA3v6MdObXPJdeLJ0q Vy9IFGHzxnLOdAJJIGHOW1+0K2/bzIoLmdek6JuVB8X5GJUlJ4a8j8jfmW4vc1AC mAtwzSM4LKV9AKGdFx09MF7ARzNr2OOWxD/BVN+UdhhwRFR9wNXdCOfxKDEc6hV0 IN3NETwzsV0+pIBay4UtQab0EmbV53eFWOwXdDB4bIifKFsYTPERzHqoM5dVkRsI z1OVSx2ivQlq+BZ3t+g8YfJ+u3ySJ9tygpslmEMQKDZTAVZVQdI9I7JPah5KAjif Xo4lg4I4OdyFFl6aKHAlYxIu3rmFRlf/m3UhPJlkOKpqz1a0SndT2HJf6kwRivh1 XHHMSJmIziEICF0+apU9tomhzNwM47/xNm5nR6FDAmUecA7RPq9zkTF0+Gzcsvtp CrQDzyLpRjW2MzRyxKEaVpwy7W3rY9DQ/tvXipMjvIF+2h8THiPniwbaonWdcjl8 sLnUEJKHHdEutEb4DJBIw1KdB2Kj9gDrck+iXAZgnRh6cCzjiPI= =Nh9w -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
1 year ago
1 changed files, 10 additions(+), 2 deletions(-)
M apps/nushell/jolheiser.nu -> apps/nushell/jolheiser.nu
diff --git a/apps/nushell/jolheiser.nu b/apps/nushell/jolheiser.nu
index 043b9ebf0e096079e2c9e3bc2e5826beb9413fe2..5efd9acc8a73dc36051a6d9cfe827ff2c575b6c8 100644
--- a/apps/nushell/jolheiser.nu
+++ b/apps/nushell/jolheiser.nu
@@ -13,10 +13,18 @@ 	$"Listening on localhost:($port)"
 	^ssh -i ~/.ssh/dev -N -T -R $"1337:localhost:($port)" dev@jolheiser.com
 }
 
-## Aliases ## 
+def nixdev [
+		name: string # Name of the dev shell to use
+		--bash: bool # Use bash instead of nushell
+alias cat = bat
 alias du = dust -b -d 1
-## Aliases ## 
+alias cat = bat
 alias just = just --shell "nu" --shell-arg "-c"
+	if ($bash) {
+		^nix develop $url
+	} else {
+		^nix develop $url -c nu
+	}
 }
 
 ## Other ##