fix: lack of spaces on echo
This commit is contained in:
parent
208621e2ef
commit
a936da6b00
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ in
|
|||
fishl = writeFishBin "fishl" ./logo.fish;
|
||||
|
||||
nrun = writeFishBin "nrun" ''
|
||||
if echo $argv[1] | grep -Eq '^(github):.+/.+$'
|
||||
if echo "$argv[1]" | grep -Eq '^[a-z]+:.+/.+$'
|
||||
nix run $argv[1] -- $argv[2..]
|
||||
else
|
||||
nix run nixpkgs#$argv[1] -- $argv[2..]
|
||||
|
|
Loading…
Add table
Reference in a new issue