-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a098bf
commit 2df0982
Showing
11 changed files
with
96 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "alpine-bat", | ||
"id": "alpine-bat", | ||
"version": "0.0.1", | ||
"description": "Installs bat on alpine", | ||
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-bat" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
echo "Activating feature 'alpine-bat'" | ||
|
||
apk --no-cache add bat | ||
echo "alias cat='bat'" >> $_CONTAINER_USER_HOME/.profile | ||
|
||
echo 'Done!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "alpine-nano", | ||
"id": "alpine-nano", | ||
"version": "0.0.1", | ||
"description": "Installs nano on alpine", | ||
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-nano" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
echo "Activating feature 'alpine-nano'" | ||
|
||
apk --no-cache add nano | ||
|
||
echo 'Done!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
{ | ||
"name": "alpine-nushell", | ||
"id": "alpine-nushell", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Installs nushell on alpine", | ||
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-nushell" | ||
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-nushell", | ||
"options": { | ||
"initStarship": { | ||
"type": "boolean", | ||
"default": true, | ||
"description": "Init starship" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "alpine-ohmyzsh", | ||
"id": "alpine-ohmyzsh", | ||
"version": "0.0.1", | ||
"description": "Installs ohmyzsh on alpine", | ||
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-ohmyzsh", | ||
"options": { | ||
"initStarship": { | ||
"type": "boolean", | ||
"default": true, | ||
"description": "Init starship" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
echo "Activating feature 'alpine-ohmyzsh'" | ||
|
||
apk --no-cache add git curl zsh | ||
curl -s https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | sh -s | ||
|
||
git clone https://github.com/supercrabtree/k $_CONTAINER_USER_HOME/.oh-my-zsh/custom/plugins/k | ||
git clone https://github.com/zsh-users/zsh-autosuggestions $_CONTAINER_USER_HOME/.oh-my-zsh/custom/plugins/zsh-autosuggestions | ||
git clone https://github.com/zsh-users/zsh-syntax-highlighting $_CONTAINER_USER_HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting | ||
sed -i 's/plugins=(git)/plugins=(git sudo k zsh-autosuggestions zsh-syntax-highlighting)/' $_CONTAINER_USER_HOME/.zshrc | ||
|
||
if [[ $INITSTARSHIP == "true" ]]; then | ||
echo $'\neval "$(starship init zsh)"' >> $_CONTAINER_USER_HOME/.zshrc | ||
fi | ||
|
||
echo 'Done!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "alpine-starship", | ||
"id": "alpine-starship", | ||
"version": "0.0.1", | ||
"description": "Installs starship on alpine", | ||
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-starship" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
echo "Activating feature 'alpine-starship'" | ||
|
||
apk --no-cache add starship --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community | ||
|
||
echo 'Done!' |