Skip to content

Commit 9fc6f7a

Browse files
committed
Update module references from shell to powershell throughout documentation and configuration
1 parent abb6a87 commit 9fc6f7a

File tree

18 files changed

+77
-699
lines changed

18 files changed

+77
-699
lines changed

.gradle-docs/README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ This is a module of [Bearsampp project](https://github.com/bearsampp/bearsampp)
3030

3131
## Overview
3232

33-
The Shell module provides PowerPowerShell 7+ with enhanced console features including Clink for command-line completion, Clink-completions for extended completions, and Oh My Posh for beautiful prompt themes. This Gradle build system automates the process of downloading, configuring, and packaging shell releases for Bearsampp.
33+
The PowerShell module provides PowerShell 7+ with enhanced console features including PSReadLine (built-in) for advanced command-line editing and Oh My Posh for beautiful prompt themes. This Gradle build system automates the process of downloading, configuring, and packaging PowerShell releases for Bearsampp.
3434

3535
### Key Features
3636

3737
- **Pure Gradle Build**: Modern build system with no Ant dependencies
3838
- **Automated Downloads**: Fetches PowerShell and dependencies from modules-untouched repository
39-
- **Dependency Management**: Handles Clink, Clink completions, Oh My Posh, and themes
39+
- **Dependency Management**: Handles Oh My Posh and themes
4040
- **Hash Generation**: Automatically generates MD5, SHA1, SHA256, and SHA512 checksums
4141
- **Multi-Version Support**: Build single or multiple versions simultaneously
4242
- **Interactive Mode**: User-friendly version selection interface
@@ -187,8 +187,6 @@ Maps shell versions to download URLs:
187187
3. **Dependency Processing**
188188
- Reads `deps.properties` from version directory
189189
- Downloads and extracts dependencies:
190-
- **Clink**: Command-line editing and completion
191-
- **Clink Completions**: Additional completion scripts
192190
- **Oh My Posh**: Beautiful prompt themes
193191
- **Oh My Posh Themes**: Theme configuration files
194192

@@ -248,24 +246,21 @@ module-shell/
248246

249247
## Dependencies
250248

251-
### shell dependencies
249+
### PowerShell dependencies
252250

253251
PowerShell bundles include the following dependencies, configured in `deps.properties`:
254252

255253
| Dependency | Purpose | Location |
256254
|-------------------------------|--------------------------------------------|------------------------------------|
257-
| Clink | Command-line editing and completion | `vendor/clink/` |
258-
| Clink Completions | Additional completion scripts | `vendor/clink-completions/` |
255+
| PSReadLine | Advanced command-line editing (built-in) | Built into PowerShell 7+ |
259256
| Oh My Posh | Beautiful prompt themes | `vendor/oh-my-posh/` |
260257
| Oh My Posh Themes | Theme configuration files | `vendor/oh-my-posh/themes/` |
261258

262259
### Example deps.properties
263260

264261
```properties
265-
clink = https://github.com/Bearsampp/modules-untouched/releases/download/Cmder-2025.11.25/clink.1.9.2.6aa2e0.zip
266-
clink_completions = https://github.com/Bearsampp/modules-untouched/releases/download/Cmder-2025.11.25/clink-completions-0.6.7.zip
267-
oh_my_posh = https://github.com/Bearsampp/modules-untouched/releases/download/Cmder-2025.11.25/posh-windows-amd64.exe
268-
oh_my_posh_theme = https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/paradox.omp.json
262+
oh_my_posh = https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-windows-amd64.exe
263+
oh_my_posh_theme = https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/paradox.omp.json
269264
```
270265

271266
---

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center"><a href="https://bearsampp.com/contribute" target="_blank"><img width="250" src="img/Bearsampp-logo.svg"></a></p>
22

3-
[![GitHub release](https://img.shields.io/github/release/bearsampp/module-shell.svg?style=flat-square)](https://github.com/bearsampp/module-shell/releases/latest)
4-
![Total downloads](https://img.shields.io/github/downloads/bearsampp/module-shell/total.svg?style=flat-square)
3+
[![GitHub release](https://img.shields.io/github/release/bearsampp/module-powershell.svg?style=flat-square)](https://github.com/bearsampp/module-powershell/releases/latest)
4+
![Total downloads](https://img.shields.io/github/downloads/bearsampp/module-powershell/total.svg?style=flat-square)
55

66
This is a module of [Bearsampp project](https://github.com/bearsampp/bearsampp) involving PowerShell with enhanced features, built with a pure Gradle build system.
77

@@ -109,14 +109,14 @@ Comprehensive documentation is available in the `.gradle-docs/` directory:
109109
## Project Structure
110110

111111
```
112-
module-shell/
112+
module-powershell/
113113
├── .gradle-docs/ # Build documentation
114114
│ ├── README.md # Main documentation
115115
│ ├── TASKS.md # Task reference
116116
│ ├── CONFIGURATION.md # Configuration guide
117117
│ └── TROUBLESHOOTING.md # Troubleshooting guide
118118
├── bin/ # Shell version directories
119-
│ └── shell{version}/ # Version-specific files
119+
│ └── powershell{version}/ # Version-specific files
120120
│ ├── deps.properties # Dependencies configuration
121121
│ └── bearsampp.conf # Bearsampp configuration
122122
├── build.gradle # Main Gradle build script
@@ -135,7 +135,7 @@ module-shell/
135135
Core build configuration:
136136

137137
```properties
138-
bundle.name = shell # Module name
138+
bundle.name = powershell # Module name
139139
bundle.release = 2025.11.13 # Release identifier
140140
bundle.type = tools # Bundle category
141141
bundle.format = 7z # Archive format (7z or zip)
@@ -144,7 +144,7 @@ bundle.format = 7z # Archive format (7z or zip)
144144

145145
### deps.properties
146146

147-
Dependencies configuration for each version (located in `bin/shell{version}/deps.properties`):
147+
Dependencies configuration for each version (located in `bin/powershell{version}/deps.properties`):
148148

149149
```properties
150150
oh_my_posh = https://github.com/Bearsampp/modules-untouched/releases/download/Cmder-2025.11.25/posh-windows-amd64.exe
@@ -213,13 +213,13 @@ Build artifacts are organized as follows:
213213
```
214214
C:/Bearsampp-build/
215215
└── tools/
216-
└── shell/
216+
└── powershell/
217217
└── 2025.11.13/
218-
├── bearsampp-shell-7.5.4-2025.11.13.7z
219-
├── bearsampp-shell-7.5.4-2025.11.13.7z.md5
220-
├── bearsampp-shell-7.5.4-2025.11.13.7z.sha1
221-
├── bearsampp-shell-7.5.4-2025.11.13.7z.sha256
222-
└── bearsampp-shell-7.5.4-2025.11.13.7z.sha512
218+
├── bearsampp-powershell-7.5.4-2025.11.13.7z
219+
├── bearsampp-powershell-7.5.4-2025.11.13.7z.md5
220+
├── bearsampp-powershell-7.5.4-2025.11.13.7z.sha1
221+
├── bearsampp-powershell-7.5.4-2025.11.13.7z.sha256
222+
└── bearsampp-powershell-7.5.4-2025.11.13.7z.sha512
223223
```
224224

225225
---
@@ -278,8 +278,8 @@ Edit the `Set-PSReadLineOption` calls in the profile to customize:
278278

279279
## Documentation and Downloads
280280

281-
- **Official Website**: https://bearsampp.com/module/shell
282-
- **GitHub Repository**: https://github.com/bearsampp/module-shell
281+
- **Official Website**: https://bearsampp.com/module/powershell
282+
- **GitHub Repository**: https://github.com/bearsampp/module-powershell
283283
- **Build Documentation**: [.gradle-docs/README.md](.gradle-docs/README.md)
284284

285285
---
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
powershellVersion = "7.5.4"
2+
powershellExe = "pwsh.exe"
3+
powershellLaunchExe = "powerpowershell.bat"
4+
shellProfile = "config\Microsoft.Powerpowershell_profile.ps1"
5+
powershellFont = "CaskaydiaCove NF"
6+
powershellRows = "33"
7+
powershellCols = "110"
8+
9+
bundleRelease = "@RELEASE_VERSION@"

bin/shell-7.5.4/config/Microsoft.PowerShell_profile.ps1 renamed to bin/powershell-7.5.4/config/Microsoft.PowerShell_profile.ps1

File renamed without changes.
File renamed without changes.

bin/shell-7.5.4/vendor/oh-my-posh/posh-windows-amd64.exe renamed to bin/powershell-7.5.4/vendor/oh-my-posh/posh-windows-amd64.exe

File renamed without changes.

bin/shell-7.5.4/vendor/oh-my-posh/themes/paradox.omp.json renamed to bin/powershell-7.5.4/vendor/oh-my-posh/themes/paradox.omp.json

File renamed without changes.

bin/shell-7.5.4/bearsampp.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)