Fix tramp mode/zshrc issues.

This commit is contained in:
Ivan Malison 2014-11-14 01:42:30 -08:00
parent 9029d9c56f
commit bb68b52996
4 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,5 @@
source ~/.lib/shellenv.sh
# This is necessary for tramp.
[ $TERM == "dumb" ] && PS1='$ ' && return
source ~/.lib/shellenv.sh # Emulate zshs env/rc distinction
source ~/.lib/shellrc.sh
source ~/.lib/bash.sh
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting

@ -1 +1 @@
Subproject commit 999de1d605c0238c14fd488a735dd488c3205974
Subproject commit c37bdc16aadb9aaffbdae1137010775a04925eaa

View File

@ -30,4 +30,5 @@ add_to_front_of_path "$JAVA_HOME/bin"
add_to_back_of_path "$(dotfiles_directory)/resources/python"
add_to_back_of_path "/usr/local/sbin"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
# Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

View File

@ -1,5 +1,5 @@
# This is necessary for tramp.
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
source ~/.lib/shellrc.sh
source ~/.lib/zsh.sh
test -r ~/custom.zsh && source ~/custom.zsh
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting