facundoolano/rpg-cli

Full cd override shell script fix

Closed this issue · 1 comments

In the shell Doc you write

cd () {
    rpg-cli cd "$@"
    builtin cd "$(rpg-cli pwd)"
}

I think you meant

cd () {
    rpg-cli "$@"  <-- no cd
    builtin cd "$(rpg-cli pwd)"
}

ah still doesn't work as intended, will get back to you later :)