diff --git a/.aliases b/.aliases index 9a5d6e7d..c35657b0 100644 --- a/.aliases +++ b/.aliases @@ -14,7 +14,7 @@ alias p="cd ~/Projects" alias g="git" alias h="history" alias j="jobs" -alias v="vim" +alias e="emacs" alias m="mate ." alias s="subl ." alias o="open" diff --git a/.brew b/.brew index 2623cccb..9816aca0 100755 --- a/.brew +++ b/.brew @@ -17,32 +17,15 @@ brew install bash # Install wget with IRI support brew install wget --enable-iri -# Install RingoJS and Narwhal -# Note that the order in which these are installed is important; see http://git.io/brew-narwhal-ringo. -brew install ringojs -brew install narwhal - # Install more recent versions of some OS X tools brew tap homebrew/dupes brew install homebrew/dupes/grep -brew tap josegonzalez/homebrew-php -brew install php54 - -# These two formulae didn’t work well last time I tried them: -#brew install homebrew/dupes/vim -#brew install homebrew/dupes/screen # Install everything else -brew install ack -#brew install exiv2 +brew install tmux +brew install nmap +brew install readline brew install git -#brew install imagemagick -brew install lynx -brew install node -brew install rename -brew install rhino -brew install tree -brew install webkit2png # Remove outdated versions from the cellar -brew cleanup \ No newline at end of file +brew cleanup diff --git a/.exports b/.exports index b9f86066..1c15ac72 100644 --- a/.exports +++ b/.exports @@ -1,6 +1,3 @@ -# Make vim the default editor -export EDITOR="vim" - # Larger bash history (allow 32³ entries; default is 500) export HISTSIZE=32768 export HISTFILESIZE=$HISTSIZE diff --git a/.osx b/.osx index 82cc4a21..6103e6e7 100755 --- a/.osx +++ b/.osx @@ -110,9 +110,6 @@ defaults write NSGlobalDomain AppleEnableSwipeNavigateWithScrolls -bool true defaults -currentHost write NSGlobalDomain com.apple.trackpad.threeFingerHorizSwipeGesture -int 1 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerHorizSwipeGesture -int 1 -# Disable “natural” (Lion-style) scrolling -defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false - # Increase sound quality for Bluetooth headphones/headsets defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" -int 40 @@ -148,8 +145,8 @@ defaults write com.apple.BezelServices kDimTime -int 300 # `Inches`, and `true` with `false`. defaults write NSGlobalDomain AppleLanguages -array "en" "nl" defaults write NSGlobalDomain AppleLocale -string "en_GB@currency=EUR" -defaults write NSGlobalDomain AppleMeasurementUnits -string "Centimeters" -defaults write NSGlobalDomain AppleMetricUnits -bool true +defaults write NSGlobalDomain AppleMeasurementUnits -string "Inches" +defaults write NSGlobalDomain AppleMetricUnits -bool false # Set the timezone; see `systemsetup -listtimezones` for other values systemsetup -settimezone "Europe/Brussels" > /dev/null @@ -344,9 +341,6 @@ ln -s /Applications/Xcode.app/Contents/Applications/iPhone\ Simulator.app /Appli # 7: Dashboard # 10: Put display to sleep # 11: Launchpad -# Top left screen corner → Mission Control -defaults write com.apple.dock wvous-tl-corner -int 2 -defaults write com.apple.dock wvous-tl-modifier -int 0 # Top right screen corner → Desktop defaults write com.apple.dock wvous-tr-corner -int 4 defaults write com.apple.dock wvous-tr-modifier -int 0 @@ -430,12 +424,6 @@ defaults write com.apple.mail NSUserKeyEquivalents -dict-add "Send" "@\\U21a9" # Only use UTF-8 in Terminal.app defaults write com.apple.terminal StringEncodings -array 4 -# Use a modified version of the Pro theme by default in Terminal.app -open "$HOME/init/Mathias.terminal" -sleep 1 # Wait a bit to make sure the theme is loaded -defaults write com.apple.terminal "Default Window Settings" -string "Mathias" -defaults write com.apple.terminal "Startup Window Settings" -string "Mathias" - # Enable “focus follows mouse” for Terminal.app and all X11 apps # i.e. hover over a window and start typing in it without clicking first #defaults write com.apple.terminal FocusFollowsMouse -bool true @@ -555,4 +543,4 @@ for app in "Address Book" "Calendar" "Contacts" "Dashboard" "Dock" "Finder" \ "Twitter" "iCal" "iTunes"; do killall "$app" > /dev/null 2>&1 done -echo "Done. Note that some of these changes require a logout/restart to take effect." \ No newline at end of file +echo "Done. Note that some of these changes require a logout/restart to take effect." diff --git a/.shared_exports b/.shared_exports new file mode 100644 index 00000000..45acb349 --- /dev/null +++ b/.shared_exports @@ -0,0 +1,2 @@ +export VISUAL=emacs +export EDITOR=emacs \ No newline at end of file