The subject line is correct.
I'd like to know how to set up an Alpine Linux ash like git-prompt.
$docker run-it --rm-v${my_git_project_dir}:/app-w/app alpine
/app#
$docker run-it --rm-v${my_git_project_dir}:/app-w/app alpine
# $ set something up
[Branch name or change_status]/app#
I am sorry if you know what you are trying to write below and are asking if you can use ash.
Wouldn't it be better to put bash in the package on Alpine Linux and then use bash as a shell?
With bash and zsh, I think there are many ways to use the __git_ps1 function defined on git-prompt.sh.I think it probably won't work as it is with ash.
It would be nice if git-prompt.sh could be used as an ash, but I searched the internet and found no one doing such a thing.(Maybe it was just a bad way to find it.)
In order to get on with the ecosystem of the development environment using various tools including git these days, I feel that there are many parts that I have no choice but to use bash or zsh.
On the other hand, bash and zsh can easily benefit from the convenient ecosystem created by others.
© 2024 OneMinuteCode. All rights reserved.