674WSHB4WR6RY67PKK53GYUBY22BRMFHYNRLOTWE66CWJI2RNMJAC alias cp='cp -iv' # verbose and warningalias mv='mv -iv' # verbose and warningalias mkdir='mkdir -pv' # verbpose and make path
alias cp='cp -iv' # warning, verbosealias mv='mv -iv' # warning, verbosealias mkdir='mkdir -pv' # make path, verbose# remove empty lines, leading and trailing whitespacealias trim="sed '/^$/d' | sed -e 's/^ *//' | sed -e 's/ *$//'"
<?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.chriscummings.homebrew-upgrade</string><key>ProcessType</key><string>Background</string><key>ProgramArguments</key><array><string>/bin/sh</string><string>-c</string><string>/usr/local/bin/brew update && /usr/local/bin/brew upgrade && /usr/local/bin/terminal-notifier -title 'Homebrew Upgrader' -message 'Homebrew upgraded!' -appIcon http://cdn.curvve.com/wp-content/uploads/2013/09/homebrew_osx_logo.png</string></array><key>RunAtLoad</key><true/><key>StandardErrorPath</key><string>/tmp/com.example.homebrew-upgrade.stderr</string><key>StandardOutPath</key><string>/tmp/com.example.homebrew-upgrade.stdout</string><key>StartCalendarInterval</key><array><dict><key>Hour</key><integer>12</integer></dict></array></dict></plist>
echo -n "$dotfiles/.profile $HOME$dotfiles/.tmux.conf $HOME$dotfiles/.vimrc $HOME$dotfiles/bash/.bash_profile $HOME$dotfiles/bash/.bashrc $HOME$dotfiles/spacemacs/.spacemacs $HOME$dotfiles/zsh/.zshrc $HOME" | xargs ln -fs
echo -n "$dotfiles/.profile $HOME$dotfiles/.tmux.conf $HOME$dotfiles/.vimrc $HOME$dotfiles/bash/.bash_profile $HOME$dotfiles/bash/.bashrc $HOME$dotfiles/spacemacs/.spacemacs $HOME$dotfiles/zsh/.zshrc $HOME" | _trim | xargs ln -fs
[ -d ~/.config ] && which nvim &> /dev/null && ln -fs $dotfiles/nvim "$HOME/.config"
test -d $HOME/.config -a `which nvim 2> /dev/null` != "" && \ln -fs $dotfiles/nvim "$HOME/.config"if test `uname` = "Darwin"; thenmydaemons=$dotfiles/start_scripts/daemons/macosdaemon_dir=$HOME/Library/LaunchAgentsfor daemon in $mydaemons/*.plist; doln -fs "$mydamons/$daemon" $daemon_dirdone;fi