Skip to content

Commit fb868a1

Browse files
move asdf install to install.
1 parent 7a956da commit fb868a1

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

src/devcontainers/base/src/.devcontainer/nhsnotify/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ cp ./poststartcommand.sh /poststartcommand.sh
55
cp ./welcome.sh /welcome.sh
66
cp ./Makefile /Makefile
77

8-
8+
echo 'install asdf via go'
9+
go install github.com/asdf-vm/asdf/cmd/[email protected]

src/devcontainers/base/src/.devcontainer/nhsnotify/postcreatecommand.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
11
#!/bin/bash
22
CURRENT_DIR=$(pwd)
33

4-
echo 'install asdf via go'
5-
go install github.com/asdf-vm/asdf/cmd/[email protected]
4+
65
echo 'export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"' >> ~/.zshrc
7-
#git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
8-
#echo 'source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh' >> ~/.zshrc
9-
#sed -i "/plugins=/c\plugins=(git ssh-agent sudo terraform dirhistory zsh-autosuggestions)" ~/.zshrc
106
sed -i "/plugins=/c\plugins=(git ssh-agent sudo terraform dirhistory)" ~/.zshrc
117
cat ~/.zshrc
128

13-
14-
echo "installing asdf plugins"
15-
curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh
16-
echo 'eval "$(zoxide init zsh)"' >> ~/.zshrc
17-
echo "zoxide plugin added"
18-
19-
cat ~/.zshrc
20-
219
echo "copying defaults"
2210
echo "getting nhse repo template"
2311
echo "Cloning $REPO into $DEST"

0 commit comments

Comments
 (0)