forked from colonelpanic/dotfiles
Fix tramp mode/zshrc issues.
This commit is contained in:
@@ -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
|
||||
|
Submodule dotfiles/emacs.d updated: 999de1d605...c37bdc16aa
@@ -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"
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user