install: Differentiate between macOS and Linux dependencies
This commit is contained in:
25
dependencies/apt.txt
vendored
Normal file
25
dependencies/apt.txt
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
direnv
|
||||||
|
fastfetch
|
||||||
|
fd
|
||||||
|
fzf
|
||||||
|
gh
|
||||||
|
git
|
||||||
|
gnupg
|
||||||
|
golang
|
||||||
|
lua-language-server
|
||||||
|
nodenv
|
||||||
|
nodenv/nodenv/nodenv-default-packages
|
||||||
|
pyenv
|
||||||
|
rbenv
|
||||||
|
ruby-build
|
||||||
|
rust
|
||||||
|
rust-analyzer
|
||||||
|
stow
|
||||||
|
tmux
|
||||||
|
tmuxp
|
||||||
|
wget
|
||||||
|
zoxide
|
||||||
|
zsh
|
||||||
|
zsh-completions
|
||||||
|
zsh-autosuggestions
|
||||||
|
|
||||||
20
install.zsh
20
install.zsh
@@ -1,13 +1,19 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
which brew > /dev/null
|
case `uname` in
|
||||||
if (( $? != 0 )); then
|
Darwin)
|
||||||
echo "First installing Homebrew"
|
which brew > /dev/null
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
if (( $? != 0 )); then
|
||||||
fi
|
echo "First installing Homebrew"
|
||||||
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Installing dependencies from Homebrew"
|
echo "Installing dependencies from Homebrew"
|
||||||
brew install -q $(< ./dependencies/homebrew.txt)
|
brew install -q $(< ./dependencies/homebrew.txt)
|
||||||
|
;;
|
||||||
|
Linux)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
echo "Installing rbenv plugins"
|
echo "Installing rbenv plugins"
|
||||||
pushd ruby/.rbenv/plugins
|
pushd ruby/.rbenv/plugins
|
||||||
|
|||||||
Reference in New Issue
Block a user