diff --git a/config/setup/apt_install.zsh b/config/setup/apt_install.zsh index 5315acb..8233da1 100755 --- a/config/setup/apt_install.zsh +++ b/config/setup/apt_install.zsh @@ -48,7 +48,6 @@ apt_progs=( fd-find # Much faster than `find` g++ # C++ compiler gfortran # PSI4 - gh # Github git # VCS gkrellm # System monitor google-chrome # Browser diff --git a/config/setup/brew_install.zsh b/config/setup/brew_install.zsh index 4fd2810..a6ecc2a 100755 --- a/config/setup/brew_install.zsh +++ b/config/setup/brew_install.zsh @@ -7,7 +7,6 @@ then fi brew_progs=( - act htop node openjpeg @@ -23,7 +22,6 @@ casks=( ) mac_only=( - gh imagemagick rcm wget diff --git a/config/setup/github_install.zsh b/config/setup/github_install.zsh index e629f99..d854d11 100755 --- a/config/setup/github_install.zsh +++ b/config/setup/github_install.zsh @@ -3,8 +3,13 @@ if ! type gh > /dev/null then echo "gh is not installed" - echo "Trying to install via brew" - brew install gh + echo "Trying to install via pixi" + if ! type pixi > /dev/null + then + echo "Installing Pixi" + curl -fsSL https://pixi.sh/install.sh | bash + fi + pixi global install gh fi if ! gh auth status 2> /dev/null @@ -38,3 +43,17 @@ pushd ~/progs/ fi done popd + + +github_extensions=( + github/gh-copilot # chat interface for questions about the command line + dlvhdr/gh-dash # displays a dashboard with pull requests and issues + gennaro-tedesco/gh-f # fuzzy finder for gh-cli + yusukebe/gh-markdown-preview # renders markdown documents in your browser + meiji163/gh-notify # shows your GitHub notifications + seachicken/gh-poi # safely cleans up old local branches +) +for ext in $github_extensions +do + gh extension install $ext +done diff --git a/config/setup/pixi_install.zsh b/config/setup/pixi_install.zsh new file mode 100644 index 0000000..66a5696 --- /dev/null +++ b/config/setup/pixi_install.zsh @@ -0,0 +1,20 @@ +#!/usr/bin/env zsh + +if ! type pixi > /dev/null +then + echo "Installing Pixi" + curl -fsSL https://pixi.sh/install.sh | bash +fi + +pixi_progs=( + act + cookiecutter + direnv + gh + pre-commit +) + +for prog in ${pixi_progs[@]} +do + pixi global install $prog +done