Example Winuxsh configuration presets for quickly bootstrapping a practical interactive shell on Windows.
This repository is intentionally separate from unixwin/wpm-source.
wpm-source is the package index: it describes what WPM can download.
This repository describes which packages and shell settings a user may want to
apply as a profile.
modern-cli: a modern terminal workflow based on WPM packages such aseza,bat,fd,ripgrep,dust,duf,fzf,starship,rclone, andchezmoi.
From this repository:
./scripts/apply-profile.winux modern-cliSkip package installation and only apply shell files:
./scripts/apply-profile.winux modern-cli --skip-wpmThe script backs up an existing ~/.winuxshrc before writing the profile.
Profiles can be copied to any rclone remote. This treats rclone as the transport layer; the profile files and WPM package list remain plain text.
Push a profile:
./scripts/sync-profile-rclone.winux push myremote:winuxsh-profilesPull a profile:
./scripts/sync-profile-rclone.winux pull myremote:winuxsh-profilesThe sync script copies public profile files only and excludes common secret file
patterns. Keep API keys and machine-local environment files outside public
profiles, or encrypt them separately with tools such as sops and age.
For mainland China usage, see docs/china-sync.md.
Each profile can include a plain text package list:
profiles/<profile>/wpm-packages.txt
The list contains one WPM package name per line. This can be generated from an existing Winuxsh installation with:
wpm installed | sed -n 's/^ \[installed\] \([^ ]*\) .*/\1/p' | sed '/^winuxcmd$/d'This profile format is a candidate for future first-class WPM support, for example:
wpm export --plain > wpm-packages.txt
wpm restore wpm-packages.txtUntil then, profiles keep the package list as plain text and restore it with a small shell script.