-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I change Shell Prompt #419
Comments
Any pointers here ? My Tried:
but this still shows the line |
+1, interested on this feature |
Hey there! Thank you for the issue, I believe we should probably add some sort of setting for the Proposed solution: Set Prompt "> " Or: Env PROMPT "> " I'm leaning towards the |
Both sound like a good solution. Still wondering how to this day all the examples gif are starting with a blue arrow ... |
Currently the prompt is hardcoded in, so it should be using that prompt: Line 23 in ed89b8b
and the default shell is What version of VHS and |
Weird, for me the default shell is Running latest version of VHS with Ubuntu 20.04.6 LTS running in a Vagrant VM:
|
I see, @ocervell do you have anything in your We use a |
Nope, the files don't even exist on my machine. We have this in the ~/.bashrc: if [ "$ASCIINEMA_REC" == "1" ]; then
PS1='\$ '
elif [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac |
I'm facing the same issue as @ocervell. vhs version v0.7.1
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 23.10
Release: 23.10
Codename: mantic
ttyd version 1.7.4-68521f5
|
I saw the |
Any update ? I've switched to |
Hey @ocervell, no update so far, I haven't looked into this issue yet. This is definitely something we'll have to solve though as changing the prompt is quite important! |
Set |
thanks for the suggestion @kovmir , however it doesn't solve the problem for me |
@kovmir changing the shell to |
Hi, I can work on this issue because I also need this. |
Awesome @Delta456, thank you for the support. I've assigned you to the issue! |
Is your feature request related to a problem? Please describe.
I want to change the shell prompt.
Describe the solution you'd like
I'd like to have the chance to change the start symbol of the shell prompt, for example:
Describe alternatives you've considered
Add a config variable like:
Set Prompt λ
or
Set Shell Prompt λ
Additional context
Example:
The text was updated successfully, but these errors were encountered: