mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
minot tweaks
This commit is contained in:
parent
a27f2235aa
commit
7f825441fc
2 changed files with 6 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue