Update editor/os install scripts
This commit is contained in:
parent
06993895dd
commit
d8acfa968a
|
@ -1,9 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
case "$OSTYPE" in
|
case $OSTYPE in
|
||||||
darwin*)
|
darwin*)
|
||||||
brew tap railwaycat/emacsmacport
|
brew install emacs --with-modules --with-librsvg --with-imagemagick --with-gnutls --with-cocoa
|
||||||
brew install emacs-mac --with-imagemagick --with-modern-icon
|
|
||||||
;;
|
;;
|
||||||
linux*)
|
linux*)
|
||||||
if [[ -f /etc/arch-release ]]; then
|
if [[ -f /etc/arch-release ]]; then
|
||||||
|
@ -15,6 +14,9 @@ case "$OSTYPE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ ! -d "$HOME/.emacs.d" ]]; then
|
if [[ ! -d "$HOME/.emacs.d" ]]; then
|
||||||
git clone --recursive "hlissner/.emacs.d" "$HOME/.emacs.d"
|
git clone --recursive "https://github.com/hlissner/.emacs.d" "$HOME/.emacs.d"
|
||||||
cd "$HOME/.emacs.d" && make install
|
fi
|
||||||
|
|
||||||
|
if [[ -f "$HOME/.emacs.d/Makefile" ]]; then
|
||||||
|
cd "$HOME/.emacs.d" && YES=1 make install
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
case $OSTYPE in
|
case $OSTYPE in
|
||||||
darwin*)
|
darwin*)
|
||||||
|
@ -15,7 +15,9 @@ esac
|
||||||
|
|
||||||
if [[ ! -d "$HOME/.vim" ]]; then
|
if [[ ! -d "$HOME/.vim" ]]; then
|
||||||
git clone --recursive "https://github.com/hlissner/.vim" "$HOME/.vim"
|
git clone --recursive "https://github.com/hlissner/.vim" "$HOME/.vim"
|
||||||
cd "$HOME/.vim"
|
|
||||||
make install
|
|
||||||
make neovim
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -f "$HOME/.vim/Makefile" ]]; then
|
||||||
|
cd "$HOME/.vim" && make install && make neovim
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,5 @@ esac
|
||||||
|
|
||||||
if [[ ! -d "$HOME/.vim" ]]; then
|
if [[ ! -d "$HOME/.vim" ]]; then
|
||||||
git clone --recursive "https://github.com/hlissner/.vim" "$HOME/.vim"
|
git clone --recursive "https://github.com/hlissner/.vim" "$HOME/.vim"
|
||||||
cd "$HOME/.vim"
|
cd "$HOME/.vim" && make install
|
||||||
make install
|
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -3,13 +3,9 @@
|
||||||
# Install homebrew
|
# Install homebrew
|
||||||
if ! command -v brew >/dev/null; then
|
if ! command -v brew >/dev/null; then
|
||||||
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||||
|
|
||||||
# Installing essentials
|
|
||||||
brew install wget curl tree coreutils bash
|
|
||||||
# Essential apps
|
|
||||||
brew cask install appcleaner iterm2 imageoptim imagealpha
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
brew install \
|
brew install \
|
||||||
hub the_silver_searcher pass keybase ffmpeg fasd tmux \
|
wget curl tree coreutils bash \
|
||||||
|
the_silver_searcher pass keybase ffmpeg \
|
||||||
neofetch youtube-dl
|
neofetch youtube-dl
|
||||||
|
|
Loading…
Reference in a new issue