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() {