Skip to content

Conversation

@Jon123276
Copy link

No description provided.

@mohit-vigilante
Copy link

I have been doing some edit to get host name and command line on same line by editing
this command line

print_before_the_prompt () {
dir=$PWD
home=$HOME
dir=${dir/"$HOME"/"~"}
printf "\n$txtred%s: $bldpur%s $txtgrn%s\n$txtrst" "$HOST_NAME" "$dir" "$(vcprompt)"
}
Screenshot 2022-08-05 at 2 39 23 AM
but whenever I press arrow keys for history visit, it distorts like this.
Screenshot 2022-08-05 at 2 39 52 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants