This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vi mode | |
bindkey -v | |
export KEYTIMEOUT=1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>Label</key> | |
<string>com.jaworski.blockwebsites</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Users/work/Desktop/block-sites.sh</string> | |
</array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
defaults write org.eyebeam.SelfControl BlockDuration -int 360; | |
sudo /Applications/SelfControl.app/Contents/MacOS/org.eyebeam.SelfControl $(id -u work) --install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
BASEDIR=$(dirname "$0") | |
file="$BASEDIR/inactivity_count.txt" | |
if [ ! -e $file ] | |
then | |
touch $file | |
echo 0 > $file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" General | |
set number | |
set linebreak | |
set showbreak=+++ | |
set textwidth=100 | |
set showmatch | |
set visualbell | |
set hlsearch | |
set smartcase |