Table of Contents

OS X

vim colouring

.vimrc

syntax on

Prompt

.zshrc

# Colored terminal (folders, etc)
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad

Coloured, with user@host:full_path

# Bash prompt
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
# zsh prompt (OSX)
PROMPT='%B%F{green}%n@%m%f%b:%B%F{blue}%~%f%b$ '

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.4pple.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

M1 bullshit