Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
feat: refresh flake Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmS8UKcACgkQuFOtpdp7 v3qKchAAvBT4tsw2a0xn3BRf4CZqXP0tZts3XWXxdrC0/sQz58R0zHKTO51U3Kc2 gTjCfIpvpnn38cBXSirR0QeHwPUwbVfzB134aQZ1WYokE9h0dVdLxYK+9b2K8VIb fMqskEu/Pg4kvmPWWxxbWKanOjBkQzl8jeiCrr0Y1xSClrJB8thkpDhj/+1C/n+L XAOQU7x3IC2RI+ZV/1eBni4Qef6AOMX+2HJMVf0VHHS8b+U+P6LGVcR+on2O25fh IyXPRQFau9mtgCccrvCaM76fSGQjkkDWXBn32DFANujiiQpdQ9wvJgMlNziLQBZi oExF4huqe1hv2gXCmYdzcc/7t9E3fydtb+BJ6rfoeQuLd+lwxgEir3n1p+cb8BLe Pm8Puhorm8eO/C4Xmy7UEF5hkrh4FSi591BQSx4YUbIYRZbwFDVWho2+61HEu7fW 5Aol/007N2g/NB626ruo8dTaki1PqMRjLqoDIC+b6xcHRMI+I6ZsCPWs/AXLLyf5 7pdC2ZK4cbyVzmyUmKfHhny1cnMPVK/8EKp2OqZY683fGYQPSGa9pgNdGF35lX3m I8b/I0PayfKh5851D6Gs8MRm/b7Aog8OVe/c+nthluoxca9u+JAotcs4oCZ2Hqjb H+Japh32zwrkx4fA3JTTAo7WDvTMVgEhweq0gvvB2mCIo/+CfrQ= =mx98 -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
1 year ago
1 changed files, 7 additions(+), 7 deletions(-)
M apps/nushell/jolheiser.nu -> apps/nushell/jolheiser.nu
diff --git a/apps/nushell/jolheiser.nu b/apps/nushell/jolheiser.nu
index 5efd9acc8a73dc36051a6d9cfe827ff2c575b6c8..4f903502cd8516506ea2df1030f4aa4008e72c40 100644
--- a/apps/nushell/jolheiser.nu
+++ b/apps/nushell/jolheiser.nu
@@ -14,17 +14,17 @@ 	^ssh -i ~/.ssh/dev -N -T -R $"1337:localhost:($port)" dev@jolheiser.com
 }
 
 def nixdev [
+		name: string    # Name of the dev shell to use
+alias find = fd
 ## Aliases ## 
-alias just = just --shell "nu" --shell-arg "-c"
-		--bash: bool # Use bash instead of nushell
+		--refresh: bool # Refresh the flake
 	] {
 	let url = $"git+https://git.jojodev.com/jolheiser/dev-shells\#($name)"
-	if ($bash) {
-		^nix develop $url
+	let c = if ($bash) {""} else {"-c nu"}
-	} else {
+	let refresh = if ($refresh) {"--refresh"} else {""}
-alias cat = bat
 alias find = fd
+alias du = dust -b -d 1
-	}
+	^nu -c $cmd
 }
 
 ## Other ##