improve nix-shell-run with args

This commit is contained in:
Noah Masur committed 2022-07-05 08:42:24 -04:00
1 parent 076068aa85
commit 7093ba7791
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@
nix-shell-run = {
body = ''
set program $argv[1]
commandline -r "nix-shell -p $program --run $program"
commandline -r "nix-shell -p $program --run \"$program $argv[2..-1]\""
commandline -f execute
'';
};