Skip to content

Commit

Permalink
remove xh client
Browse files Browse the repository at this point in the history
  • Loading branch information
phalanx-hk committed Jan 13, 2024
1 parent 64d7224 commit 434b7b6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 21 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ jobs:
- name: Setup faketty
uses: Yuri6037/[email protected]

# ttyが必要なため、CIでは事前にインストールしておく
- name: Install xh
run: |
mkdir -p $HOME/.local/bin
curl -sfL https://raw.githubusercontent.com/ducaale/xh/master/install.sh | faketty sh
- name: Setup
run: |
cd ubuntu/scripts/
Expand Down
1 change: 0 additions & 1 deletion mac/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ brew "tfenv"
brew "tfsec"
brew "tmux"
brew "tree"
brew "xh"
brew "hashicorp/tap/terraform"
brew "hashicorp/tap/packer"
brew "rcmdnk/file/brew-file"
Expand Down
2 changes: 1 addition & 1 deletion mac/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi
# codewhisperをインストール
if [ -z "$(command -v cw)" ]; then
echo "--- install codewhisper is start ---"
xh https://desktop-release.codewhisperer.us-east-1.amazonaws.com/latest/CodeWhisperer.dmg --download --output /tmp/CodeWhisperer.dmg
curl https://desktop-release.codewhisperer.us-east-1.amazonaws.com/latest/CodeWhisperer.dmg -o /tmp/CodeWhisperer.dmg
hdiutil attach /tmp/CodeWhisperer.dmg
cp -r /Volumes/CodeWhisperer/CodeWhisperer.app /Applications/
echo "--- install codewhisper is done---"
Expand Down
17 changes: 4 additions & 13 deletions ubuntu/scripts/setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ else
echo "--- rust is installed! ---"
fi

# xh client
if ! command -v "xh" >/dev/null 2>&1; then
echo "--- install xh is start! ---"
curl -sfL https://raw.githubusercontent.com/ducaale/xh/master/install.sh | sh
echo "--- install xh is done! ---"
else
echo "--- xh is installed! ---"
fi

# goenv
if ! command -v "goenv" >/dev/null 2>&1; then
echo "--- install goenv is start! ---"
Expand All @@ -42,7 +33,7 @@ fi
## pyenv
if ! command -v "pyenv" >/dev/null 2>&1; then
echo "--- install pyenv is start! ---"
xh get https://pyenv.run | bash
curl https://pyenv.run | bash
echo "--- install pyenv is done! ---"
else
echo "--- pyenv is installed! ---"
Expand All @@ -51,7 +42,7 @@ fi
## poetry
if ! command -v "poetry" >/dev/null 2>&1; then
echo "--- install poetry is start! ---"
xh get --follow https://install.python-poetry.org | python3 -
curl -sSL https://install.python-poetry.org | python3 -
echo "--- install poetry is done! ---"
else
echo "--- poetry is installed! ---"
Expand All @@ -60,7 +51,7 @@ fi
# starship
if ! command -v "starship" >/dev/null 2>&1; then
echo "--- install starship is start! ---"
xh get https://starship.rs/install.sh | sh -s -- -y
curl https://starship.rs/install.sh | sh -s -- -y
echo "--- install starship is done! ---"
else
echo "--- starship is installed! ---"
Expand All @@ -75,7 +66,7 @@ cargo install bat eza fd-find procs ripgrep du-dust bottom
# act
if ! command -v "act" >/dev/null 2>&1; then
echo "--- install act is start! ---"
xh get https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
echo "--- install act is done! ---"
else
echo "--- act is installed! ---"
Expand Down

0 comments on commit 434b7b6

Please sign in to comment.