Ash258 / Scoop-Core

Shovel. Alternative, more advanced, and user-friendly implementation of windows command-line installer scoop.
https://shovel.ash258.com
GNU General Public License v3.0
208 stars 11 forks source link

*Nix compatibility #103

Open Ash258 opened 3 years ago

Ash258 commented 3 years ago

Sanitize quotes usage

Commands

Binaries

Ash258 commented 3 years ago

path manipulations have to support [:;]

image

PowerShell/PowerShell#4341

Ash258 commented 3 years ago

TODO: How to handle environment file in pwsh?

~/.config/scoop/environment.sh

export VARIABLE='...'
...

~/.profile | ~/.zshrc

# source /opt/Shovel/config/environments.sh ?? 
source ~/.config/scoop/environments.sh
Ash258 commented 2 years ago

Shimming will happen simply as ln -s /real /shim/shim. Parameter binding will be omitted as on Linux there should be no use case for it.

.ps1 shim just for non-native executables