From 05068799c0bd0a5baf5009b74e783abe7d98ed36 Mon Sep 17 00:00:00 2001 From: Matthew Ess Date: Thu, 23 Jan 2020 13:15:43 -0500 Subject: [PATCH] Add mkdcd --- home.nix | 1 + scripts/mkdcd.fish | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 scripts/mkdcd.fish diff --git a/home.nix b/home.nix index 24bfe26..8c71518 100644 --- a/home.nix +++ b/home.nix @@ -70,6 +70,7 @@ in { ".config/fish/completions/systemctl.fish".source = ./scripts/systemctl.fish; ".config/fish/functions/kbl.fish".source = ./scripts/kbl.fish; + ".config/fish/functions/mkdcd.fish".source = ./scripts/mkdcd.fish; ".config/i3status/config".text = '' # i3status configuration file. # see "man i3status" for documentation. diff --git a/scripts/mkdcd.fish b/scripts/mkdcd.fish new file mode 100644 index 0000000..21ae7f8 --- /dev/null +++ b/scripts/mkdcd.fish @@ -0,0 +1,4 @@ +function mkdcd -a target + mkdir $target + cd $target +end