User Tools

Site Tools


software:osx

This is an old revision of the document!


OS X

Prompt

Coloured, with user@host:full_path

# Bash prompt
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

Remove Finder from ALT+TAB

# Open file
sudo vi /System/Library/CoreServices/Finder.app/Contents/Info.plist
 
# Add these lines in the <dict> node
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>NSUIElement</key>
        <string>1</string>

Disable key accent menu on hold push, allow repeating

# Enable repeating
defaults write -g ApplePressAndHoldEnabled -bool false
 
# Revert to default
defaults write -g ApplePressAndHoldEnabled -bool true
software/osx.1523829252.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki