Commit 9590683
committed
osc prompt for Bash.
Equivalent of `__git_ps1` for git.
Suggested use:
# Prompt for osc
[[ -f /usr/share/bash-completion/completions/osc-prompt.sh ]] && \
source /usr/share/bash-completion/completions/osc-prompt.sh
export PS1='\h:\W$(__osc_prompt) \$ '
Fixes: openSUSE#13791 parent 4ccb00b commit 9590683
1 file changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments