Skip to content

Instantly share code, notes, and snippets.

@gemire
Last active January 28, 2016 12:55
Show Gist options
  • Save gemire/89d85c6d1c4685763d4b to your computer and use it in GitHub Desktop.
Save gemire/89d85c6d1c4685763d4b to your computer and use it in GitHub Desktop.
successfully() {
$* || (echo "\nfailed" 1>&2 && exit 1)
}
fancy_echo() {
echo "\n$1"
}
fancy_echo "Updating babun"
successfully pact update
fancy_echo "Installing tmux"
successfully pact install tmux
fancy_echo "Installing solarized dark theme and powerconsolas for mintty"
successfully curl https://gist.githubusercontent.com/gemire/01aca86e152391b51a96/raw/f54b0e7c4f5f95352ed5df8d63df904c840969c3/.minttyrc -o ~/.minttyrc
fanyc_echo "Updating gitconfig"
successfully git config --global core.autocrlf true
successfully git config --global user.name "gemire"
successfully git config --global user.email "[email protected]"
echo "execute 'chere -i -t mintty' in admin mode to enable Zsh Prompt Here"
source ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment