dotfiles
dotfiles copied to clipboard
Stupid space moment
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)"
}
but whenever I press arrow keys for history visit, it distorts like this.