dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

ps1.sh (191B)


      1 if [ -n "$SSH_TTY" ]
      2 then
      3 	PS1="${HOSTNAME}\$(if [ \$(id -u) -ne 0 ]; then echo \$; else echo \#; fi) "
      4 else
      5 	PS1="\$(if [ \$(id -u) -ne 0 ]; then echo \$; else echo \#; fi) "
      6 fi
      7 
      8 export PS1