Find the answer to your Linux question:
Results 1 to 2 of 2
I've setup custom prompts on linux boxes for years, but this is the first time I've run into a problem I can solve. I've set the following as my prompt: ...
  1. #1
    Just Joined!
    Join Date
    May 2011
    Posts
    9

    Can someone help me proofread my prompt? Small error I can't find.

    I've setup custom prompts on linux boxes for years, but this is the first time I've run into a problem I can solve.

    I've set the following as my prompt:
    ... can't post the string due to the 15 post rule. how helpful....

    Everything looks fine initially.
    1- It sets the username and host in back on green text.
    2- It then changes to an off-white an prints the command number for the terminal.
    3- Next, it prints the working directory.
    4- Finally is prints a ">" character and a space. it looks like this (hostname/un edited & image enlarged slightly to make it easier to read.)


    The problem occurs when I try to "up arrow" to reuse and/or edit a prior command. It prints the prior command fine, but if I arrow over to edit
    the command sometimes the first character can not be deleted from displaying



    I'd love to post 2 screen-shots I took to show the problem but.. 15 posts?

  2. #2
    Just Joined!
    Join Date
    May 2011
    Posts
    44
    use
    pastebin.com
    for the string
    and

    tinypic.com
    for the pictures

    then post the links here without the http://

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...