You are not logged in.
Pages: 1
how can I append arch32 to my ps1? i just set up a chroot environment and constantly want to remind myself that im in it when i use it. i'd like it in this format if possible: user@host(arch32) current directory
Last edited by brando56894 (2009-05-09 07:14:59)
Offline
export PS1="\u@\h(arch32) \w \$ "
Offline
^ Stick that in your ~/.bashrc (or the one in the chroot, whichever applies).
Offline
thanks i wasnt sure if you were able to add strings to it without a special escape character or something.
Offline
Pages: 1