This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# start window index of 1 | |
set-option -g base-index 1 | |
setw -g pane-base-index 1 | |
# sane scrolling | |
set-option -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
# UTF-8 | |
set-option -g status-utf8 on | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This script checks if the current branch needs to pull, push, if it has | |
# diverged, or if it is up-to-date with the remote branch. | |
# Credits to: http://stackoverflow.com/questions/3258243/check-if-pull-needed-in-git | |
# Check if git is installed. | |
hash git 2>/dev/null || { echo >&2 "This script requires git to be installed."; exit 1; } | |
# Update remote branch to fetch latest remote commit SHA. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install DokuWiki (OS X) | |
# Installs the following applications: Homebrew, brew-cask, gnu-tar, wget, mamp | |
install_dependencies() { | |
echo "Installing dependencies" | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"; | |
brew update; | |
brew upgrade; | |
brew install caskroom/cask/brew-cask; | |