EvilZone

General Tech => Operating System => : proxx December 19, 2012, 05:07:18 AM

: Post your PS1 :)
: proxx December 19, 2012, 05:07:18 AM
For all you linux users on the board :)

PS1:
:
┌─[04:56 AM][proxx][~]
└──╼>

Inside my .bashrc

:

red="\[\e[0;33m\]"
yellow="\[\e[0;31m\]"
if [ `id -u` -eq "0" ]; then
root="${yellow}"
else
root="${red}"
fi


PS1="\[\e[0;37m\]┌─[\@\[\e[0;37m\]][\[\e[0;96m\]${root}\u\[\e[0;37m\]][\[\e[0;32m\]\w\[\e[0;37m\]]\n\[\e[0;37m\]└──╼> \[\e[0m\]"


: Re: Post your PS1 :)
: Kulverstukas December 19, 2012, 08:28:08 AM
Oh man...

(http://images02.olx.com.ph/ui/5/45/37/1268448929_37723837_1-Pictures-of--SELLING-SONY-PS2-slim.jpg)

Good times with that one... good times indeed... so many classic games played.
: Re: Post your PS1 :)
: s3my0n December 19, 2012, 08:54:52 PM
lol Kulver +1
That's what I thought of when I read the title of this thread. It so happens that I successfully installed PS1 emulator on my arch system today ;)

As for the bashrc file, nice, might use.
: Re: Post your PS1 :)
: proxx December 27, 2012, 08:45:23 PM
Im just gonna say im still amazed about the amount of non linux users here.
Its truely something I cant wrap my head around.
: Re: Post your PS1 :)
: iTpHo3NiX December 28, 2012, 09:53:23 AM
Im just gonna say im still amazed about the amount of non linux users here.
Its truely something I cant wrap my head around.

There are plenty linux users here, just not everyone uses it as their only OS. I run both. I use *nix for various things, and I use windows for various things. There are pros and cons to both OSes. The day Linux supports all of my hardware out of the box and can flawlessly run all of the proprietary software that I like, I would gladly switch to nix only, until then I'm rocking both throughout my desktops and laptops.
: Re: Post your PS1 :)
: s3my0n December 28, 2012, 11:15:18 AM
The day Linux supports all of my hardware out of the box and can flawlessly run all of the proprietary software that I like, I would gladly switch to nix only, until then I'm rocking both throughout my desktops and laptops.

It's not the matter of Linux supporting various hardware and software, it's about the vendors of the various hardware and software supporting Linux. It's a simple change in wording that changes your whole understanding of the issue. It is much easier and less clumbersome to have your hardware drivers included in Linux than it is in Windows.
: Re: Post your PS1 :)
: flowjob December 28, 2012, 12:09:24 PM
b2t:

It's not my bash, but my powershell ps1, but I'll post it anyway...
It's supposed to look bash-like...

:
function sudo([string]$pname) { RunAs /user:Administrator $pname }


function cwd { $pwd.Path }


clear
function prompt{
    "$env:username@$env:computername" + ":" + "$pwd$ ".Replace($env:userprofile,"~").Replace(":","").Replace("\","/")
    }

Edit:
How it looks:
:
area_13@node:~$
: Re: Post your PS1 :)
: proxx December 28, 2012, 12:17:02 PM
Lol would be nice if you would put the actual layout in your post but I can read it :)
As long as it looks like bash bro :P
: Re: Post your PS1 :)
: iTpHo3NiX December 28, 2012, 08:57:23 PM
It's not the matter of Linux supporting various hardware and software, it's about the vendors of the various hardware and software supporting Linux. It's a simple change in wording that changes your whole understanding of the issue. It is much easier and less clumbersome to have your hardware drivers included in Linux than it is in Windows.

I'm well aware that its the OEMs and their proprietary drivers, however I still stand by what I say. I know it's not Linux's fault, but I still would want it to just install and work. Don't need to go through various things to get shit up and running the way I want. For example I install windows 7, use my activator and I'm good to go, any drivers are automatically either downloaded or are embedded in the OS setup. *Nix, not all my hardware is supported because of Vendors proprietary software so I run into issues and spend countless hours trying to compile drivers that don't work from source and what not. Anyways there's still an issue with proprietary software such as Adobe Master Collection CS6, ConvertX2DVD, NTFS (I have 7.5TB of data on my main desktop which is why I run *nix on my laptops), Coupon Activators (If you know me, I like to coupon as well as fake coupon xD but I get ideas from these coupons) Sony Suite (Vegas, DVD Architect, Sound Forge), TMPGEnc, amongst others. And yes I know its up to those manufacturers to port their proprietary software to Linux and I know they wont which is unfortunate. Microdick as the monopoly and there's nothing we can do about it... They make plenty of money by just supporting Microdick and the hours it would take for them to make it cross platform they would lose money paying the coders vs. supporting Linux.
: Re: Post your PS1 :)
: lucid January 24, 2013, 04:34:05 AM
Hmm, proxx I tried your PS1 but I got this:

(http://i.imgur.com/mGZvZTg.png)
: Re: Post your PS1 :)
: proxx January 24, 2013, 04:49:06 AM
Fuck took me 10 minutes to remember, I should sleep more this is getting out of hand.
This probably has to do with your character encoding.
https://wiki.archlinux.org/index.php/UTF-8

/etc/locale.conf
Mine looks like this; LANG=en_US.UTF-8

All this sh*t changed around a bit recently.
I had similar issues but my memory is bad atm, hopefully not permanent.
: Re: Post your PS1 :)
: lucid January 24, 2013, 04:53:29 AM
Ah well, it's not really that important