minot tweaks

This commit is contained in:
Chris Blackburn 2012-01-26 14:03:29 -06:00
commit 7f825441fc
2 changed files with 6 additions and 5 deletions

View file

@ -37,10 +37,11 @@ for i in $OS_DIR/*.sh ; do
done
# Source Host specifics if there are any for the current host
if [[ ! -z "$HOST" ]]; then
HOSTNAME=`hostname`
if [[ ! -z "$HOSTNAME" ]]; then
HOST_DIR=$DOT_ENV_PATH/host/`hostname`
if [[ "$SHLVL" == "1" ]]; then
echo "Sourcing '$HOST' Environment"
echo "Sourcing '$HOSTNAME' Environment"
fi
for i in $HOST_DIR/*.sh ; do
if [ -r "$i" ]; then

View file

@ -5,14 +5,14 @@
# export EDITOR="$HOME/bin/mate2"
# Sublime Text 2 Editor
export EDITOR="$HOME/bin/subl"
export EDITOR="$HOME/bin/subl -n"
alias e="$EDITOR ."
alias ea="$EDITOR $DOT_ENV_PATH/host/$HOSTNAME/alias.sh"
alias eas=". $DOT_ENV_PATH/host/$HOSTNAME/alias.sh"
alias eb="$EDITOR $HOME/bin"
alias ee="$EDITOR $DOT_ENV_PATH $HOME/.bashrc"
alias ees=". $DOT_ENV_PATH/source.sh"
alias ee="$EDITOR $DOT_ENV_PATH $HOME/.zshrc"
alias ees=". $DOT_ENV_PATH/dot-env.plugin.zsh"
alias ef="$EDITOR $DOT_ENV_PATH/host/$HOSTNAME/functions.sh"
alias efs=". $DOT_ENV_PATH/host/$HOSTNAME/functions.sh"
alias eh="$EDITOR $HOME/.ssh"