diff --git a/modules/home/zsh/functions.zsh b/modules/home/zsh/functions.zsh index 7785a81..6e98018 100644 --- a/modules/home/zsh/functions.zsh +++ b/modules/home/zsh/functions.zsh @@ -10,3 +10,7 @@ mkcd () { mkdir -p -- "$1" && cd -P -- "$1" } + +run() { + nix run nixpkgs#"$1" -- ${@:2} +}