File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "id" : " personal-setup" ,
3- "version" : " 5.0 .0" ,
3+ "version" : " 5.1 .0" ,
44 "name" : " Personal Setup" ,
55 "description" : " Sets up my desired software and configuration for any devcontainer environment." ,
66 "mounts" : [
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ echo "Installing packages for distribution: $ID"
1212case " $ID " in
1313 debian|ubuntu)
1414 apt-get update
15- apt-get install -y curl fd-find fish git-delta jq less openssh-client rcm ripgrep tree
15+ apt-get install -y cloc curl fd-find fish git-delta jq less openssh-client rcm ripgrep tree
1616 ;;
1717 fedora)
18- dnf install -y curl fd-find fish git-delta jq less openssh-clients rcm ripgrep tree
18+ dnf install -y cloc curl fd-find fish git-delta jq less openssh-clients rcm ripgrep tree
1919 ;;
2020 * )
2121 echo " Error: Unsupported distribution: $ID "
@@ -30,3 +30,9 @@ EXCLUDES="README.md"
3030DOTFILES_DIRS="/mnt/dotfiles /mnt/dotfiles-private"
3131TAGS="devcontainer"
3232EOF
33+
34+ # Some devcontainer configurations outside my control explicitly set zsh as the default shell, and
35+ # to add insult to injury, install the unspeakable abomination that is `oh-my-zsh`.
36+ echo " Purge oh-my-zsh and enforce fish as the default shell"
37+ rm -rf " ${_REMOTE_USER_HOME} /.oh-my-zsh"
38+ chsh -s " $( which fish) " " ${_REMOTE_USER} "
You can’t perform that action at this time.
0 commit comments