Improve Arch Linux support in ext scripts

This commit is contained in:
Henrik Lissner 2016-10-11 13:27:21 +02:00
parent ccfe4beaa4
commit b890c3bee2
3 changed files with 18 additions and 6 deletions

View file

@ -1,7 +1,6 @@
#!/usr/bin/env bash
cd ~/.emacs.d/ext
source ./VARS
source VARS
#
echo "Setting up C# (omnisharp)"

View file

@ -1,11 +1,23 @@
#!/usr/bin/env bash
cd ~/.emacs.d/ext
source ./VARS
source VARS
#
echo "Setting up Rust"
case "$OSTYPE" in
darwin*)
brew install rust
;;
linux*)
if is-arch; then
sudo pacman --noconfirm -S rust cargo
elif is-deb; then
echo ...
exit 1
fi
esac
git-repo "https://github.com/rust-lang/rust.git" "rust"
git-repo "https://github.com/phildawes/racer.git" "racer-src"

View file

@ -1,11 +1,12 @@
#!/usr/bin/env bash
cd ~/.emacs.d/ext
source ./VARS
source VARS
#
echo "Setting up zsh/bash (zshdb, bashdb)"
if is-mac; then
brew install zshdb bashdb
elif is-arch; then
sudo pacman --noconfirm -S zshdb bashdb
fi