forked from colonelpanic/dotfiles
No readlink in current_shell, causes problems with add_to_front_of_path
This commit is contained in:
parent
f94232acf0
commit
e0f1a5b734
@ -76,7 +76,7 @@ function update_dotfiles() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function current_shell() {
|
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() {
|
function is_zsh() {
|
||||||
|
Loading…
Reference in New Issue
Block a user