Personalization updates

This commit is contained in:
Nicholas Harris 2016-10-13 13:36:46 -04:00
commit 43c670e64c
6 changed files with 56 additions and 10 deletions

View file

@ -1,10 +0,0 @@
# You can put files here to add functionality separated per file, which
# will be ignored by git.
# Files on the custom/ directory will be automatically loaded by the init
# script, in alphabetical order.
# For example: add yourself some shortcuts to projects you often work on.
#
# brainstormr=~/Projects/development/planetargon/brainstormr
# cd $brainstormr
#

55
lib/bcbsnc.zsh Normal file
View file

@ -0,0 +1,55 @@
function login () {
mkdir /Volumes/iwserver
mount -t smbfs //u102084@wcms/iwserver /Volumes/iwserver
}
function livereload() {
serve $1
}
function serve() {
serve_path=`pwd`
if [ -z "$1" ]; then
serve_path="$1"
echo "SERVE PATH: $serve_path"
fi
echo "=================================================="
echo "Starting livereload server for $serve_path"
echo "=================================================="
echo ""
lr-http-server -d $serve_path -w **/*.js,**/*.css,**/*.html,**/*.htm,**/*.xml,**/*.svg
}
function wcms() {
login()
open -a Firefox http://wcms/iw-cc/command/iw.ui
}
function work() {
echo "=================================================="
echo "Starting work in `pwd`"
echo "=================================================="
echo ""
echo "=================================================="
echo "Open in Sublime"
echo "=================================================="
work_dir=`pwd`
subl $work_dir
serve $work_dir
}
function get() {
if [ -z "$1" ]; then
echo usage: $0 \<git-repo\>
exit
else
cd ~/Source
git clone $1
fi
}
export JIRA_URL="https://weboffice.atlassian.net"
export JIRA_NAME="nick.harris"
export JIRA_PREFIX="BC"
# export $JIRA_RAPID_BOARD="false"
# export $JIRA_DEFAULT_ACTION - Action to do when jira is called with no arguments; defaults to "new"

View file

@ -31,6 +31,7 @@ fi
for config_file ($ZSH/lib/*.zsh); do
custom_config_file="${ZSH_CUSTOM}/lib/${config_file:t}"
[ -f "${custom_config_file}" ] && config_file=${custom_config_file}
source $config_file
done

0
tools/check_for_upgrade.sh Normal file → Executable file
View file

0
tools/uninstall.sh Normal file → Executable file
View file

0
tools/upgrade.sh Normal file → Executable file
View file