forked from colonelpanic/dotfiles
Fix tramp mode/zshrc issues.
This commit is contained in:
parent
9029d9c56f
commit
bb68b52996
@ -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/shellrc.sh
|
||||||
source ~/.lib/bash.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
|
@ -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 "$(dotfiles_directory)/resources/python"
|
||||||
add_to_back_of_path "/usr/local/sbin"
|
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/shellrc.sh
|
||||||
source ~/.lib/zsh.sh
|
source ~/.lib/zsh.sh
|
||||||
test -r ~/custom.zsh && source ~/custom.zsh
|
test -r ~/custom.zsh && source ~/custom.zsh
|
||||||
|
|
||||||
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
|
|
||||||
|
Loading…
Reference in New Issue
Block a user