forked from colonelpanic/dotfiles
Updated aliases for tmux, got rid of some more defaults.
This commit is contained in:
parent
e22c98c26a
commit
876e8bb996
2
.aliases
2
.aliases
@ -130,3 +130,5 @@ done
|
||||
alias stfu="osascript -e 'set volume output muted true'"
|
||||
alias pumpitup="osascript -e 'set volume 7'"
|
||||
alias hax="growlnotify -a 'Activity Monitor' 'System error' -m 'WTF R U DOIN'"
|
||||
|
||||
alias tmux="tmux -2"
|
@ -4,7 +4,7 @@ export PATH="$HOME/bin:$PATH"
|
||||
# Load the shell dotfiles, and then some:
|
||||
# * ~/.path can be used to extend `$PATH`.
|
||||
# * ~/.extra can be used for other settings you don’t want to commit.
|
||||
for file in ~/.{path,bash_prompt,exports,aliases,functions,extra}; do
|
||||
for file in ~/.{path,bash_prompt,exports,shared_exports,aliases,functions,extra}; do
|
||||
[ -r "$file" ] && source "$file"
|
||||
done
|
||||
unset file
|
||||
|
27
.osx
vendored
27
.osx
vendored
@ -13,16 +13,16 @@ while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
|
||||
###############################################################################
|
||||
|
||||
# Set computer name (as done via System Preferences → Sharing)
|
||||
sudo scutil --set ComputerName "MathBook Pro"
|
||||
sudo scutil --set HostName "MathBook Pro"
|
||||
sudo scutil --set LocalHostName "MathBook-Pro"
|
||||
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "MathBook-Pro"
|
||||
sudo scutil --set ComputerName "IvanMalison"
|
||||
sudo scutil --set HostName "IvanMalison"
|
||||
sudo scutil --set LocalHostName "IvanMalison"
|
||||
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "IvanMalison"
|
||||
|
||||
# Menu bar: disable transparency
|
||||
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
|
||||
|
||||
# Menu bar: show remaining battery time (on pre-10.8); hide percentage
|
||||
defaults write com.apple.menuextra.battery ShowPercent -string "NO"
|
||||
defaults write com.apple.menuextra.battery ShowPercent -string "YES"
|
||||
defaults write com.apple.menuextra.battery ShowTime -string "YES"
|
||||
|
||||
# Menu bar: hide the useless Time Machine and Volume icons
|
||||
@ -31,10 +31,6 @@ defaults write com.apple.systemuiserver menuExtras -array "/System/Library/CoreS
|
||||
# Always show scrollbars
|
||||
defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
|
||||
|
||||
# Disable smooth scrolling
|
||||
# (Uncomment if you’re on an older Mac that messes up the animation)
|
||||
#defaults write NSGlobalDomain NSScrollAnimationEnabled -bool false
|
||||
|
||||
# Disable opening and closing window animations
|
||||
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
|
||||
|
||||
@ -72,9 +68,6 @@ defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true
|
||||
# Set Help Viewer windows to non-floating mode
|
||||
defaults write com.apple.helpviewer DevMode -bool true
|
||||
|
||||
# Fix for the ancient UTF-8 bug in QuickLook (http://mths.be/bbo)
|
||||
# Commented out, as this is known to cause problems when saving files in
|
||||
# Adobe Illustrator CS5 :(
|
||||
#echo "0x08000100:0" > ~/.CFUserTextEncoding
|
||||
|
||||
# Reveal IP address, hostname, OS version, etc. when clicking the clock
|
||||
@ -99,12 +92,6 @@ defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool
|
||||
defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
|
||||
defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
|
||||
|
||||
# Trackpad: map bottom right corner to right-click
|
||||
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
|
||||
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
|
||||
defaults -currentHost write NSGlobalDomain com.apple.trackpad.trackpadCornerClickBehavior -int 1
|
||||
defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryClick -bool true
|
||||
|
||||
# Trackpad: swipe between pages with three fingers
|
||||
defaults write NSGlobalDomain AppleEnableSwipeNavigateWithScrolls -bool true
|
||||
defaults -currentHost write NSGlobalDomain com.apple.trackpad.threeFingerHorizSwipeGesture -int 1
|
||||
@ -133,7 +120,7 @@ defaults write com.apple.universalaccess closeViewZoomFollowsFocus -bool true
|
||||
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
|
||||
|
||||
# Set a blazingly fast keyboard repeat rate
|
||||
defaults write NSGlobalDomain KeyRepeat -int 0
|
||||
defaults write NSGlobalDomain KeyRepeat -int 1
|
||||
|
||||
# Automatically illuminate built-in MacBook keyboard in low light
|
||||
defaults write com.apple.BezelServices kDim -bool true
|
||||
@ -307,8 +294,6 @@ defaults write com.apple.dock dashboard-in-overlay -bool true
|
||||
|
||||
# Remove the auto-hiding Dock delay
|
||||
defaults write com.apple.Dock autohide-delay -float 0
|
||||
# Remove the animation when hiding/showing the Dock
|
||||
defaults write com.apple.dock autohide-time-modifier -float 0
|
||||
|
||||
# Enable the 2D Dock
|
||||
#defaults write com.apple.dock no-glass -bool true
|
||||
|
Loading…
Reference in New Issue
Block a user