Skip to content

Commit

Permalink
add alpine-broot feature
Browse files Browse the repository at this point in the history
  • Loading branch information
cirolosapio committed Oct 28, 2023
1 parent e711687 commit 13ad495
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/alpine-broot/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

# alpine-broot (alpine-broot)

Installs broot on alpine

## Example Usage

```json
"features": {
"ghcr.io/cirolosapio/devcontainers-features/alpine-broot:0": {}
}
```

## Options

| Options Id | Description | Type | Default Value |
|-----|-----|-----|-----|
| initZsh | Init zsh | boolean | true |



---

_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/cirolosapio/devcontainers-features/blob/main/src/alpine-broot/devcontainer-feature.json). Add additional notes to a `NOTES.md`._
14 changes: 14 additions & 0 deletions src/alpine-broot/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "alpine-bottom",
"id": "alpine-bottom",
"version": "0.0.2",
"description": "Installs bottom on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-bottom",
"options": {
"initZsh": {
"type": "boolean",
"default": true,
"description": "Init zsh"
}
}
}
13 changes: 13 additions & 0 deletions src/alpine-broot/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

set -e

echo "Activating feature 'alpine-bottom'"

apk --no-cache add broot

if [[ $INITZSH == "true" ]]; then
apk --no-cache add broot-zsh-completion
fi

echo 'Done!'

0 comments on commit 13ad495

Please sign in to comment.