Article 56WRT Must PS1 string be always reevaluated each time input enter

Must PS1 string be always reevaluated each time input enter

by
BudiKusasi
from LinuxQuestions.org on (#56WRT)
How to make PS1 string always reevaluated each time user input enter key on shell prompt ?
as
Code:n=A; PS1="$n"

n=Bkeep showing Alatest?d=yIl2AUoC8zA latest?i=ojCWrmbfQqc:isua_S9FbYo:F7zBnMy latest?i=ojCWrmbfQqc:isua_S9FbYo:V_sGLiP latest?d=qj6IDK7rITs latest?i=ojCWrmbfQqc:isua_S9FbYo:gIN9vFwojCWrmbfQqc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments