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" : " 4.1 .0" ,
3+ "version" : " 4.2 .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 fish git-delta rcm tree openssh-client
15+ apt-get install -y curl fd-find fish git-delta jq less openssh-client rcm ripgrep tree
1616 ;;
1717 fedora)
18- dnf install -y fish git-delta rcm tree openssh-clients
18+ dnf install -y curl fd-find fish git-delta jq less openssh-clients rcm ripgrep tree
1919 ;;
2020 * )
2121 echo " Error: Unsupported distribution: $ID "
Original file line number Diff line number Diff line change 33
44source dev-container-features-test-lib
55
6- check " delta is available" bash -c " which delta"
7- check " fish is available" bash -c " which fish"
8- check " rcm is available" bash -c " which rcup"
9- check " ssh is available" bash -c " which ssh"
10- check " tree is available" bash -c " which tree"
11- # Use a dotfile that should _always_ be present on any system
6+ # Check packages are installed and available
7+ check " curl is available" bash -c " which curl"
8+ check " delta is available" bash -c " which delta"
9+ check " fd is available" bash -c " which fd || which fdfind"
10+ check " fish is available" bash -c " which fish"
11+ check " jq is available" bash -c " which jq"
12+ check " less is available" bash -c " which less"
13+ check " rcm is available" bash -c " which rcup"
14+ check " ripgrep is available" bash -c " which rg"
15+ check " ssh is available" bash -c " which ssh"
16+ check " tree is available" bash -c " which tree"
17+
18+ # Check dotfiles are installed
1219check " dotfiles are installed" bash -c " test -f $HOME /.rcrc"
20+
21+ # Check environment variables are set
1322check " _IS_DEVCONTAINER is set" bash -c " test \"\$ _IS_DEVCONTAINER\" = \" true\" "
1423check " PROMPT_PREFIX is set" bash -c " test \"\$ PROMPT_PREFIX\" = \" \" "
1524
You can’t perform that action at this time.
0 commit comments