mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 20:50:15 +00:00
improve nix-shell-run with args
This commit is contained in:
@ -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
|
||||
'';
|
||||
};
|
||||
|
Reference in New Issue
Block a user