No readlink in current_shell, causes problems with add_to_front_of_path

This commit is contained in:
Ivan Malison 2015-06-15 14:13:45 -07:00
parent f94232acf0
commit e0f1a5b734

View File

@ -76,7 +76,7 @@ function update_dotfiles() {
}
function current_shell() {
readlink -f $(which "$(ps -p $$ | tail -1 | awk '{print $NF}' | sed 's/\-//')")
which "$(ps -p $$ | tail -1 | awk '{print $NF}' | sed 's/\-//')"
}
function is_zsh() {