File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -55,14 +55,14 @@ $ sudo pkgm update
5555>
5656> Shims are files with a single line, eg ` #!/usr/bin/env -S pkgx -q! node@22 ` .
5757>
58- > Thus using the shell to reinvoke the file via ` pkgx ` . You get all the
59- > benefits of an installed package without actually it actually being
60- > installed until it is needed. Traits desirable for certain types of
61- > self-healing, devops containers and plenty more one-off or ephemeral tasks.
58+ > Thus using the shell to reinvoke the file via ` pkgx ` . You get all the benefits
59+ > of an installed package without actually it actually being installed until it
60+ > is needed. Traits desirable for certain types of self-healing, devops
61+ > containers and plenty more one-off or ephemeral tasks.
6262>
63- > Shims are pretty great—but have caveats. Some software might be surprised
64- > that a package is not fully “installed” and lead to errors. In practice we
65- > have seen issues only rarely and for more complex package combinations.
63+ > Shims are pretty great—but have caveats. Some software might be surprised that
64+ > a package is not fully “installed” and lead to errors. In practice we have
65+ > seen issues only rarely and for more complex package combinations.
6666
6767## Installation
6868
Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ function install_prefix() {
740740}
741741
742742function dev_stub_text ( selfpath : string , bin_prefix : string , name : string ) {
743- if ( selfpath . startsWith ( "/usr/local" ) && selfpath != ' /usr/local/bin/dev' ) {
743+ if ( selfpath . startsWith ( "/usr/local" ) && selfpath != " /usr/local/bin/dev" ) {
744744 return `
745745dev_check() {
746746 [ -x /usr/local/bin/dev ] || return 1
@@ -755,8 +755,6 @@ dev_check() {
755755 return 1
756756}
757757
758- set -x
759-
760758if d="$(dev_check)"; then
761759 eval "$(/usr/local/bin/dev "$d" 2>/dev/null)"
762760 [ "$(command -v ${ name } 2>/dev/null)" != "${ selfpath } " ] && exec ${ name } "$@"
You can’t perform that action at this time.
0 commit comments