Improve bash bindings