Home

dotnix @9403dfa83eed5bc5ef648097dd2da3eef5208b25 - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / home / nogui / nushell / autoload / mkcd.nu
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
module mkcd {
  # Make a directory and cd in to it
  export def --env main [
    dir: path # The directory to create
  ]: nothing -> nothing {
    mkdir $dir
    cd $dir
  }
}
use mkcd *