Gen 426: Shell script nix files work properly now
This commit is contained in:
10
glasshouse-desktop/home/scripts/mcd.nix
Normal file
10
glasshouse-desktop/home/scripts/mcd.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ self, pkgs }:
|
||||
|
||||
|
||||
pkgs.writeShellScriptBin "mcd" (''
|
||||
#!/run/current-system/sw/bin/bash
|
||||
|
||||
|
||||
mkdir -p "$1"
|
||||
cd "$1" || exit
|
||||
'')
|
||||
Reference in New Issue
Block a user