14 thoughts on “What is your PS1?”

  1. Perhaps it’s because when I’m at an actual prompt, I’m at home, not working, I find all the stuff about current directory, user, hostname, et cetera, just extraneous. So generally my prompt is just

    PS1=’\$ ‘

    If I need to know stuff, there’s always pwd, hostname, and whoami.

  2. I do not claim any proper code in the following lines that I’ve had for ages…

    %cat load.zsh
    declare -i Up=”`uptime | awk -F: ‘{print $4}’ | cut -f1 -d’,’`”

    if [ $Up -ge 2 ]
    echo ‘red’
    if [ $Up -lt 1 ]
    echo ‘green’
    echo ‘yellow’

    %cat prompt.zsh
    autoload -U colors

    date_color=”`zsh ~/.zsh/load.zsh`”



    PS1=”$user$cpath $percent$end ”


  3. Please help with this advice apticeraped?I really dont know what to do or ?How to resolve this, Your help or advice would be great. Please be sensitive as I am feeling quite low.Back in 2005 an abusive ex was arrested for beating up another woman, he was immediately given 15 months in prison (he did 9 months of the sentence) not only was I appalled at his actions, but it meant he had cheated/lied to me to have been with her. This was my que to have a fresh start. I was working at a gym, did an access to nursing course (worked very hard to study and have a job and manage my flat, finances etc) I also met a great guy that I worked with. I wrote to the bad guy in prison and told him I had moved on. For once I was happy. Me and the new man had a great few months, I was enjoying my studies, got in to an amazing nursing college, was happy and getting self esteem back and this new guy treated me great. In June 06, the toxic man was released from prison (I had ignored his calls and letter) he knew I was in a relationship. Yet, still turned up at my home un invited. He could see I was going places, was happy and had moved on. He was trying every trick in the book to win me back but I told him I was with someone and happy. He didnt listen. In Sept 06 he came to my home and violently raped me. I have had psychological counselling. But because of what he did I pushed the good guy away. I didnt even tell him what had happened as I was too ashamed. Eventually at some point in 2007 our relationship fizzled (down to me being down, unreliable and not myself). Yet, it was only in 2008 that I came forward to police about the rape and abuse as I was not ready to deal with it until then. I had left my University nursing course, I had depression and frankly my life was a mess (still is). The rape trial was due to be 22nd Feb this year, but due to police negligence (they lost one of my video statements) and a catalogue of errors the case was thrown out of court by the judge! Not only has this man destroyed my life and saw that I was moving on and happy and did what he could to ruin it, but he walks free from court for what he did. The nice guy has moved on and is engaged and happy, and I am left picking up the pieces of my life. The last 4 years have been sheer hell. I had a brief relationship in the summer and I am now 7 months pregnant, I just feel like my life is a total mess and dont know what to do to get back to my old self.I am currently in the process of suing the police but the injustice of all this is awful Please help, thanksthe length of time it took me to report the rape is irrelevent as I forgot to mention I had visited a rape clinic straight after where forensics and medical evidence were taken and a DNA match was found. I havent spoken to this beast for 18 months and dont intend to.

Leave a Reply

Your email address will not be published. Required fields are marked *