Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/personal-setup/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "personal-setup",
"version": "5.0.0",
"version": "5.1.0",
"name": "Personal Setup",
"description": "Sets up my desired software and configuration for any devcontainer environment.",
"mounts": [
Expand Down
10 changes: 8 additions & 2 deletions src/personal-setup/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ echo "Installing packages for distribution: $ID"
case "$ID" in
debian|ubuntu)
apt-get update
apt-get install -y curl fd-find fish git-delta jq less openssh-client rcm ripgrep tree
apt-get install -y cloc curl fd-find fish git-delta jq less openssh-client rcm ripgrep tree
;;
fedora)
dnf install -y curl fd-find fish git-delta jq less openssh-clients rcm ripgrep tree
dnf install -y cloc curl fd-find fish git-delta jq less openssh-clients rcm ripgrep tree
;;
*)
echo "Error: Unsupported distribution: $ID"
Expand All @@ -30,3 +30,9 @@ EXCLUDES="README.md"
DOTFILES_DIRS="/mnt/dotfiles /mnt/dotfiles-private"
TAGS="devcontainer"
EOF

# Some devcontainer configurations outside my control explicitly set zsh as the default shell, and
# to add insult to injury, install the unspeakable abomination that is `oh-my-zsh`.
echo "Purge oh-my-zsh and enforce fish as the default shell"
rm -rf "${_REMOTE_USER_HOME}/.oh-my-zsh"
chsh -s "$(which fish)" "${_REMOTE_USER}"
Loading