Updated aliases for tmux, got rid of some more defaults.
This commit is contained in:
parent
e22c98c26a
commit
876e8bb996
4
.aliases
4
.aliases
@ -129,4 +129,6 @@ done
|
|||||||
# Stuff I never really use but cannot delete either because of http://xkcd.com/530/
|
# Stuff I never really use but cannot delete either because of http://xkcd.com/530/
|
||||||
alias stfu="osascript -e 'set volume output muted true'"
|
alias stfu="osascript -e 'set volume output muted true'"
|
||||||
alias pumpitup="osascript -e 'set volume 7'"
|
alias pumpitup="osascript -e 'set volume 7'"
|
||||||
alias hax="growlnotify -a 'Activity Monitor' 'System error' -m 'WTF R U DOIN'"
|
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:
|
# Load the shell dotfiles, and then some:
|
||||||
# * ~/.path can be used to extend `$PATH`.
|
# * ~/.path can be used to extend `$PATH`.
|
||||||
# * ~/.extra can be used for other settings you don’t want to commit.
|
# * ~/.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"
|
[ -r "$file" ] && source "$file"
|
||||||
done
|
done
|
||||||
unset file
|
unset file
|
||||||
@ -36,4 +36,4 @@ complete -W "NSGlobalDomain" defaults
|
|||||||
complete -o "nospace" -W "Contacts Calendar Dock Finder Mail Safari iTunes SystemUIServer Terminal Twitter" killall
|
complete -o "nospace" -W "Contacts Calendar Dock Finder Mail Safari iTunes SystemUIServer Terminal Twitter" killall
|
||||||
|
|
||||||
# If possible, add tab completion for many more commands
|
# If possible, add tab completion for many more commands
|
||||||
[ -f /etc/bash_completion ] && source /etc/bash_completion
|
[ -f /etc/bash_completion ] && source /etc/bash_completion
|
||||||
|
29
.osx
vendored
29
.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)
|
# Set computer name (as done via System Preferences → Sharing)
|
||||||
sudo scutil --set ComputerName "MathBook Pro"
|
sudo scutil --set ComputerName "IvanMalison"
|
||||||
sudo scutil --set HostName "MathBook Pro"
|
sudo scutil --set HostName "IvanMalison"
|
||||||
sudo scutil --set LocalHostName "MathBook-Pro"
|
sudo scutil --set LocalHostName "IvanMalison"
|
||||||
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "MathBook-Pro"
|
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "IvanMalison"
|
||||||
|
|
||||||
# Menu bar: disable transparency
|
# Menu bar: disable transparency
|
||||||
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
|
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
|
||||||
|
|
||||||
# Menu bar: show remaining battery time (on pre-10.8); hide percentage
|
# 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"
|
defaults write com.apple.menuextra.battery ShowTime -string "YES"
|
||||||
|
|
||||||
# Menu bar: hide the useless Time Machine and Volume icons
|
# 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
|
# Always show scrollbars
|
||||||
defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
|
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
|
# Disable opening and closing window animations
|
||||||
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
|
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
|
||||||
|
|
||||||
@ -72,9 +68,6 @@ defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true
|
|||||||
# Set Help Viewer windows to non-floating mode
|
# Set Help Viewer windows to non-floating mode
|
||||||
defaults write com.apple.helpviewer DevMode -bool true
|
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
|
#echo "0x08000100:0" > ~/.CFUserTextEncoding
|
||||||
|
|
||||||
# Reveal IP address, hostname, OS version, etc. when clicking the clock
|
# 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 -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
|
||||||
defaults 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
|
# Trackpad: swipe between pages with three fingers
|
||||||
defaults write NSGlobalDomain AppleEnableSwipeNavigateWithScrolls -bool true
|
defaults write NSGlobalDomain AppleEnableSwipeNavigateWithScrolls -bool true
|
||||||
defaults -currentHost write NSGlobalDomain com.apple.trackpad.threeFingerHorizSwipeGesture -int 1
|
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
|
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
|
||||||
|
|
||||||
# Set a blazingly fast keyboard repeat rate
|
# 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
|
# Automatically illuminate built-in MacBook keyboard in low light
|
||||||
defaults write com.apple.BezelServices kDim -bool true
|
defaults write com.apple.BezelServices kDim -bool true
|
||||||
@ -290,7 +277,7 @@ defaults write com.apple.dock show-process-indicators -bool true
|
|||||||
# Wipe all (default) app icons from the Dock
|
# Wipe all (default) app icons from the Dock
|
||||||
# This is only really useful when setting up a new Mac, or if you don’t use
|
# This is only really useful when setting up a new Mac, or if you don’t use
|
||||||
# the Dock to launch apps.
|
# the Dock to launch apps.
|
||||||
#defaults write com.apple.dock persistent-apps -array
|
# defaults write com.apple.dock persistent-apps -array
|
||||||
|
|
||||||
# Don’t animate opening applications from the Dock
|
# Don’t animate opening applications from the Dock
|
||||||
defaults write com.apple.dock launchanim -bool false
|
defaults write com.apple.dock launchanim -bool false
|
||||||
@ -307,8 +294,6 @@ defaults write com.apple.dock dashboard-in-overlay -bool true
|
|||||||
|
|
||||||
# Remove the auto-hiding Dock delay
|
# Remove the auto-hiding Dock delay
|
||||||
defaults write com.apple.Dock autohide-delay -float 0
|
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
|
# Enable the 2D Dock
|
||||||
#defaults write com.apple.dock no-glass -bool true
|
#defaults write com.apple.dock no-glass -bool true
|
||||||
|
Loading…
Reference in New Issue
Block a user