Skip to content

About

Example Winuxsh configuration profiles and WPM package presets

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Winuxsh Profiles

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.

Profiles

  • modern-cli: a modern terminal workflow based on WPM packages such as eza, bat, fd, ripgrep, dust, duf, fzf, starship, rclone, and chezmoi.

Apply a Profile

From this repository:

./scripts/apply-profile.winux modern-cli

Skip package installation and only apply shell files:

./scripts/apply-profile.winux modern-cli --skip-wpm

The script backs up an existing ~/.winuxshrc before writing the profile.

Sync with rclone

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-profiles

Pull a profile:

./scripts/sync-profile-rclone.winux pull myremote:winuxsh-profiles

The 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.

WPM Package Lists

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'

Future WPM Feature

This profile format is a candidate for future first-class WPM support, for example:

wpm export --plain > wpm-packages.txt
wpm restore wpm-packages.txt

Until then, profiles keep the package list as plain text and restore it with a small shell script.

About

Example Winuxsh configuration profiles and WPM package presets

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages