From e0f1a5b734b41cd62af1e281b2d8245d87064668 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 15 Jun 2015 14:13:45 -0700 Subject: [PATCH] No readlink in current_shell, causes problems with add_to_front_of_path --- dotfiles/lib/shellenv/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/lib/shellenv/functions.sh b/dotfiles/lib/shellenv/functions.sh index 1a081695..76adba9c 100644 --- a/dotfiles/lib/shellenv/functions.sh +++ b/dotfiles/lib/shellenv/functions.sh @@ -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() {