You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right prompt work for fish and nushell, but not for bash. In changelog for 1.18 version there is this change bash: Support right prompt and transience and in docs for right prompt there is this line Note: The [Ble.sh](https://github.com/akinomyoga/ble.sh) framework should be installed in order to use right prompt in bash. I installed ble-sh but right prompt for bash doesn't work and ble-sh delete my color for host and user, making them white.
Expected Behavior
Did I misunderstand this or with version 1.18 we can set right prompt for bash with ble-sh like we can with fish or nushell?
Additional context/Screenshots
Possible Solution
Environment
Starship version: 1.18.0
bash version: GNU bash, version 5.2.26(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Operating system: Arch Linux Rolling Release
Terminal emulator: alacritty 0.13.1 (fe2a3c56)
Git Commit Hash:
Branch/Tag: v1.18.0
Rust Version: rustc 1.76.0 (07dca489a 2024-02-04) (Arch Linux rust 1:1.76.0-2)
Rust channel: release
Build Time: 2024-03-21 15:56:12 +00:00
Relevant Shell Configuration
# Add this lines at the top of .bashrc:
[[ $-==*i* ]] &&source /usr/share/blesh/ble.sh --noattach
# your bashrc settings come here...if [[ -r /usr/share/bash-completion/bash_completion ]];then. /usr/share/bash-completion/bash_completion
fieval"$(starship init bash)"# Add this line at the end of .bashrc:
[[ ${BLE_VERSION-} ]] && ble-attach
Starship Configuration
# Configure the format of the prompt from left to rightformat = """$username\$hostname\$directory\$git_branch\$git_commit\$git_state\$git_status\$package\$lua\$rust\$typst\$character"""# move the rest of the prompt to the right side of the screenright_format = """$shell\$localip\$cmd_duration\$time"""# Get editor completions based on the config schema"$schema" = 'https://starship.rs/config-schema.json'# Add a new line before the start of the promptadd_newline = falsecommand_timeout = 600# A continuation prompt that displays two filled in arrowscontinuation_prompt = '▶▶ '
[character]
error_symbol = '[✗](bold red)'
[cmd_duration]
format = '[$duration]($style)/'
[directory]
read_only = ' 🔒'
[git_branch]
format = '[$symbol$branch(:$remote_branch)]($style) '
[hostname]
disabled = falsessh_only = falseformat = '[$hostname]($style) $ssh_symbol'style = '#808080 bold'
[line_break]
disabled = true
[localip]
ssh_only = trueformat = '[{$localipv4}]($style) 'disabled = false
[lua]
format = '[$symbol($version)]($style) '
[package]
format = '[$symbol$version]($style) '
[rust]
format = '[$symbol($version)]($style) '
[shell]
fish_indicator = ''bash_indicator = '_'nu_indicator = ''style = 'cyan bold'disabled = false
[time]
disabled = falseformat = '[$time]($style)'use_12hr = falsetime_format = '%H:%M'utc_time_offset = 'local'time_range = '-'
[typst]
format = '[$symbol($version )]($style)'
[username]
disabled = falseformat = '[$user]($style)[@](bold #4c4c4c)'style_root = 'red bold'style_user = '#808080 bold'show_always = true
The text was updated successfully, but these errors were encountered:
It should perhaps be documented better, but the ble.sh features require ble.sh v0.4+, which would require blesh-git instead of blesh if you are using the AUR.
Current Behavior
Right prompt work for
fish
andnushell
, but not forbash
. In changelog for 1.18 version there is this changebash: Support right prompt and transience
and in docs for right prompt there is this lineNote: The [Ble.sh](https://github.com/akinomyoga/ble.sh) framework should be installed in order to use right prompt in bash
. I installedble-sh
but right prompt for bash doesn't work andble-sh
delete my color for host and user, making them white.Expected Behavior
Did I misunderstand this or with version 1.18 we can set right prompt for
bash
withble-sh
like we can withfish
ornushell
?Additional context/Screenshots
Possible Solution
Environment
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Relevant Shell Configuration
Starship Configuration
The text was updated successfully, but these errors were encountered: