Gen 423: Converted shell scripts into nix files
This commit is contained in:
11
glasshouse-laptop/home/scripts/mcd.nix
Normal file
11
glasshouse-laptop/home/scripts/mcd.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ pkgs }:
|
||||
|
||||
{
|
||||
mcd = pkgs.writeShellScriptBin "mcd" (''
|
||||
#!/run/current-system/sw/bin/bash
|
||||
|
||||
|
||||
mkdir -p "$1"
|
||||
cd "$1" || exit
|
||||
'');
|
||||
}
|
||||
Reference in New Issue
Block a user