[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
show me your shell prompts and post code
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 176
Thread images: 71
File: sexy-bash-prompt-original.png (84 KB, 1108x616) Image search: [Google]
sexy-bash-prompt-original.png
84 KB, 1108x616
show me your shell prompts and post code
>>
>>53677874
fuck you
stupid wop dego
>>
File: 1449802136312.png (29 KB, 780x492) Image search: [Google]
1449802136312.png
29 KB, 780x492
>>53677874
>tfw it's literally useless
>>
File: 1443200201441.png (9 KB, 566x361) Image search: [Google]
1443200201441.png
9 KB, 566x361
Only acceptable prompt.
Everything else is garbage.
>>
>>53678438
This is alright

>>53677874
This is pointless dogshit
>>
>>53677874
>Gianni
>iMac
>ruby
>fun-branch
>dat palette
>dat filename
You can't make this shit up.
>>
>>
If your shell prompt is longer than 10 columns || spans multiple lines you should literally kill yourself.
>>
>>53677874
>>
File: console.png (35 KB, 910x503) Image search: [Google]
console.png
35 KB, 910x503
its 5am and i really have nothing better to do...
>>
>>53677874
>>
>>53678737
so stock i almost thought you were a middle-aged white man in his bmw.
>>
File: 2016-03-25-182148_543x368_scrot.png (171 KB, 543x368) Image search: [Google]
2016-03-25-182148_543x368_scrot.png
171 KB, 543x368
>>53678438
Will you be my Easter bunny
>>
>>53678803
>stock
what do you mean?
>>
>>53678893
haha wow gramps, go back to >>reddit
>>
>>53678893
stock = straight outta the box.
>>
>>53678737
God I can't stand that Ubuntu purple-not-black colour that even gets applied to the Grub.
>>
File: Untitled.png (44 KB, 860x630) Image search: [Google]
Untitled.png
44 KB, 860x630
>>53677874
>>
>>53678932
I don't think the directory exists fa.m
>>
>>53678932
K..Karly?
>>
>>53678958
>>53678958
cd..
cd..
cd ..
cd code
ls
cd
>>
>>53678697
>xvideos videos downloader
do you mind posting source code?
>>
File: Screenshot_2016-03-25-11-35-58.png (295 KB, 1440x2560) Image search: [Google]
Screenshot_2016-03-25-11-35-58.png
295 KB, 1440x2560
code
>>
>>53678928
Well, Ubuntu is comfy, popular easy to get, install and work version of Linux. I don't like purple though.
>>
File: Untitled-1 copy.png (13 KB, 581x322) Image search: [Google]
Untitled-1 copy.png
13 KB, 581x322
>>
File: Capture.png (252 KB, 649x462) Image search: [Google]
Capture.png
252 KB, 649x462
>>53677874
function global:prompt {
# Print current time
Write-Host ("[") -N -F DarkGray
Write-Host ($(Get-Date -F T)) -N -F Yellow
Write-Host ("]") -N -F DarkGray

# Print current dir
Write-Host ("[") -N -F DarkGray
Write-Host ($PWD) -N -F Yellow
Write-Host ("]") -N -F DarkGray

# Print prompt symbol:
Write-Host ("`n>>") -N -F Green
return " ";
}
>>
ksh master race
# sh/ksh initialization

PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
if [ -n "$SSH_CLIENT" ]; then
PS1=`logname`@`hostname -s`:'$PWD$ '
else
PS1='$ '
fi

>>
File: shell.png (17 KB, 661x418) Image search: [Google]
shell.png
17 KB, 661x418
nothing fancy
>>
>>53678438
how did you get it to look decent
>>
>>
>>53679247
Are your eyes bleeding already?
>>
>>53679295

At night I switch to night mode with: xcalib -invert -alter
>>
File: 1443275074678.jpg (156 KB, 850x1133) Image search: [Google]
1443275074678.jpg
156 KB, 850x1133
>>53678863
Yes.
>>
>>
>>53678697
Pretty fucking pointless for something you can do with a 5 line bash script.
>>
>>53679242
1. Install xterm
2. Install ZSH, and ONLY ZSH, no OMZ garbage.
3. Set ZSH prompt to "redhat".
4. Apply following Xresources config:
XTerm*background:rgb:1f/1f/1f
XTerm*foreground:rgb:da/da/da
XTerm*faceName: DejaVu Sans Mono:size=9:antialias=true
XTerm*faceNameDoublesize: Source Han Sans JP
XTerm*termName: xterm-256color
XTerm*locale: true
XTerm*utf8Title: true

Xft.antialias: 1
Xft.hinting: 1
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
Xft.rgba: rgb
>>
>>53679349
Yay!
All the other bunnies I asked declined!
>>
File: 1458920546462.webm (900 KB, 480x480) Image search: [Google]
1458920546462.webm
900 KB, 480x480
ok
>>
>>53678438
>having hostname in prompt
i never get this, i mean the only reason is when you use ssh quite a lot.
>>
>>53679474
most people have tests for ssh like >>53679186
>>
>>53677874
>Mavericks
I've been thinking about downgrading back to Mavericks my old MacBook Air (2010) because El Crapitan doesn't give me more than 1 and a half of battery life, also it's becoming slower every day. Any software incompatibilities with it, i.e. any program refusing to run on anything older than Yosemite/El Cap? Otherwise I'll just install some lightweight Linux distro.
>>
>>53679474
>i mean the only reason is when you use ssh quite a lot.
Well good thing I do.

Other than that, I switch between my desktop and laptop a lot, both have very similar desktop environment (in the literal sense of the word, not GNOME or KDE or whatever shit), so the hostname helps remind me what machine I'm using.

Also it looks good.
>>
>>53679035
https://0x0.st/KRr.py
if you want to download random vids, then change the mpv function's command to
'youtube-dl ' + link

also, its pretty buggy, I barely use it anyways
>>53679389
it searches with tags too
>>
>>53677874
>>
>>53679071
Is that leenux on a phone?
>>
>>53679469
Reisen is a cute bunny!
Are you going to hide easter eggs around the house when I sleep?
Also, where do easter eggs come from?

Inb4 file deleted
>>
>>53679557
*fc 15
>>
>>53679579
!15 or fc 15
>Goddammit
>>
>>53677874
ok
>>
File: 1455898917040.jpg (207 KB, 600x500) Image search: [Google]
1455898917040.jpg
207 KB, 600x500
>>53679570
>Reisen is a cute bunny!
A cute bunny and a slut!
>Also, where do easter eggs come from?
Reisen's you-know-what.
>>
>>53679565
Well most phones run Linux but you're probably confused by my ssh client or something
>>
>>53679644
Do they come out wrapped in tinfoil or are they wrapped up later?
>>
File: 1434472995731.jpg (193 KB, 1020x1440) Image search: [Google]
1434472995731.jpg
193 KB, 1020x1440
>>53679758
They're wrapped up later.

I'm running out of Reisen images, care to post a few?
>>
>>53679796
>>53679758
Way to derail the thread with your autistic hobby, spergs.
>>
File: 1448571681115.jpg (202 KB, 595x741) Image search: [Google]
1448571681115.jpg
202 KB, 595x741
>>53679868
Anime website.
>>
>>53679868
As if this thread had any value to begin with.
>>
>>53679890
posting anime pics in moderation is ok. going full /a/ outside of /a/ is not.
>>
>>53678670
mind sharing that profile? it looks great.
>>
>>53677874
Hey karlie kloss!
>>
File: reisen.jpg (142 KB, 600x800) Image search: [Google]
reisen.jpg
142 KB, 600x800
>>53679796
I don't have many either. 10gb hdd with 3.5gb free, no room for huge collections of multiple characters, especially not touhou.

Here's the one in my first post though.

>>53679868
polite sage I guess
>>
>>53677874
%{$fg_no_bold[cyan]%}%n%{$fg_bold[red]%}•%{$fg_bold[green]%}%3~$(git_prompt_info)%{$reset_color%}
>>
File: 1446884444496.jpg (630 KB, 1281x766) Image search: [Google]
1446884444496.jpg
630 KB, 1281x766
>>53679913
If you have to complain about it, it means you obviously don't belong here.
Fuck off to reddit or something.
>>
File: 2016-03-25-134053_836x484_scrot.png (142 KB, 836x484) Image search: [Google]
2016-03-25-134053_836x484_scrot.png
142 KB, 836x484
Nothing special

just git branch and virtualenv marker
>>
>>53679973
i'm not >>53679868 and i'm not complaining, but i do think that a single topic per thread is a good thing.
>>
File: 1433985538526.jpg (257 KB, 500x522) Image search: [Google]
1433985538526.jpg
257 KB, 500x522
>>53679973
This one has a Reisen!

>>53679913
Neither Reisen or ME-tan are /a/. ME-tan is more /g/ than anything, actually.

Polite sage.
>>
>>53677874
fuck off macfag
>>>/fa/
>>
>>53680012
w-what is shit looking at?
>>
>>53680041
she*
woops
>>
>>53680057
You were right the first time
>>
File: 1434650125719.jpg (1 MB, 600x3094) Image search: [Google]
1434650125719.jpg
1 MB, 600x3094
>>53680063
Hime is not shit!
>>
File: 19.jpg (160 KB, 533x814) Image search: [Google]
19.jpg
160 KB, 533x814
>>53680041
Either 2ch or 2chan.

Did you know that you can post on 2chan's IPv6 board if you have IPv6? Last time I tried I could.

Just a note, I'm using Tewi font on >>53678863.

Visible sage needs to come back.
>>
>>53679890
Technology board.
>>
>>53680347
Nice bumb newfag
>>
File: 1455258654123.jpg (710 KB, 1200x1600) Image search: [Google]
1455258654123.jpg
710 KB, 1200x1600
>>53680347
On anime website.
>>
>>53677874
that's a cool color scheme. Is there something similar for linux?
>>
>>53677874
I l;ike your colour scheme

>>53678373
your terminal is aesthetically pleasing to my eyes.
>>
File: 61.jpg (432 KB, 726x1027) Image search: [Google]
61.jpg
432 KB, 726x1027
>>53680435
You still want Reisens?
These are actually from the Tewi folder, turns out I never had one for Reisen.

I was ready to abandon thread.
>>
File: 1430894415315.png (12 KB, 564x415) Image search: [Google]
1430894415315.png
12 KB, 564x415
just fish shell with a theme through oh-my-fish
>>
File: 1447757284875.png (126 KB, 500x500) Image search: [Google]
1447757284875.png
126 KB, 500x500
>>53680494
More Reisens are always welcome.
>>
File: 1449343447697.png (17 KB, 590x441) Image search: [Google]
1449343447697.png
17 KB, 590x441
>>53680550
i really love my sheep
>>
>>53678987
Karlie Koding Klub
official screenshot
>>
>>53680458
>Is there something similar for linux?
No
>>
>>53677874
Can you share how you made it look that way? I like the color scheme. (not trolling)
>>
>>53680627
Karly is a real developer, unlike you 'power'shell user.... baka disgusting
>>
File: scr.png (131 KB, 678x1048) Image search: [Google]
scr.png
131 KB, 678x1048
>>
File: 111.jpg (302 KB, 500x1000) Image search: [Google]
111.jpg
302 KB, 500x1000
>>53680550
You do know that fish is not fully bourne compatible, right? A few scripts break and some features are unsupported. !! for one.
Also the development has stopped, as far as I know.

>>53680591
I need to jump on the *boorus next!
I'm sad my raifu folder had no Reisens in it.
>>
>>53678373
How do I do this?
>>
>>53680643
You sure are retarded.
You do realize that OP's image is just ZSH right? I used to have a theme like his, but then I realized it was useless garbage and got a nice and simple prompt like >>53678438
>>
File: 1446183201575.jpg (25 KB, 480x494) Image search: [Google]
1446183201575.jpg
25 KB, 480x494
>>53680661
>ruby
>real developer
>>
>>53680690
Those colors are Apple-exclusive. Sorry you're not aware of basic facts.
>>
>>53680689
cmder my friend
>>
>>53680683
Yes, for scripts i switch to bash
Its autocomplete is just amazing
>>
>>53680694
She contributed to fizzbuzz and hello world.
>>
>>53680741
She needs to join our startup.
>>
>>53678697
#!/usr/bin/.././././bin/./python3
>>
>>53680766
ill make the logo
>>
File: zsh.webm (769 KB, 368x384) Image search: [Google]
zsh.webm
769 KB, 368x384
>>53680714
The autocomplete is awesome, yes. Though I don't really like it's learning ability or the browser configuration.

Here's something you can do with Zsh autocomplete.
Also guess whose laptop is dying, lol. It sure didn't look like this to me while recording! You get the idea though.

Reisens will follow shortly.
>>
File: udonbunny.jpg (342 KB, 780x877) Image search: [Google]
udonbunny.jpg
342 KB, 780x877
>>53680946
I'm just laughing at this now.

Here's the Reisen, polite sage.
>>
>>53679071
juicessh master race
>>
File: 1356332933932.jpg (225 KB, 680x680) Image search: [Google]
1356332933932.jpg
225 KB, 680x680
>>53680946
Good fucking god what have you done
>>
>>53679969
Good taste in font, Ben.
>>
>inb4 macfag, i got it free through uni
>>
>>53681045
>persistent scrollbar
Disgusting
>>
>>53681056
this
>>
>>53681056
>>53681066

Is that better? I hadn't even realised until you said.
>>
File: udonbunny2.jpg (683 KB, 860x780) Image search: [Google]
udonbunny2.jpg
683 KB, 860x780
>>53681018
Bought a 10 year old laptop off of facebook for 20 bucks and threw old RAM from a broken machine in.

Best 20 bucks spent, this thing has been a killer with such niceties as a 16:10 wacom touch screen and a nipple mouse instead of a touchpad.

They just don't make good laptops anymore. And you can't find those for 20 eur.
>>
File: Screenshot_2016-03-25_13-55-39.png (7 KB, 482x290) Image search: [Google]
Screenshot_2016-03-25_13-55-39.png
7 KB, 482x290
>>53681111
yeah a ton better

would also prefer no titlebar but I guess that's a controversial topic
>>
>>53681119
>16:10 wacom touch screen and a nipple mouse
that sounds comfy.. what laptop is it?
>>
>>53681192
I wouldn't really know how to do that
>>
>>53681119
>They just don't make good laptops anymore
Tell me about it. My newest laptop is 6 years old and everything I could upgrade to has some kind of significant drawback I don't want to deal with.
I largely blame the high-quality industry's obsession with thinness. I can choose between a giant hulking monster of a "gaming laptop", generic cheap shit with sufficient specs but terrible interface devices, or premium shit that's pleasant to use but lacks basic hardware in favor of being a quarter centimeter thinner.
>>
>>53677874
>>
>>53680999
Aye
>>
File: udonbunny3.jpg (85 KB, 540x800) Image search: [Google]
udonbunny3.jpg
85 KB, 540x800
>>53681204
HP Compaq 2710p.
It's not actually 10 years old, but close enough.

You might want to get a newer version though, they offer higher resolutions, capasitive touch, touchpads, real processors and more storage. I'd get one myself if I could find one for a fair price.

This thing also has a hardware killswitch for wireless and bluetooth, and a 3G modem. It also flips into tablet mode, and you can buy an extra battery and a DVD drive. There's also a spare PCIe slot.

>>53681254
It's stradegy. You never want to give the consumers the perfect product, otherwise they'll never upgrade.
>>
>>53680999
clearly
>>
>>53681325
>You never want to give the consumers the perfect product, otherwise they'll never upgrade
Well they're making me never upgrade by not supplying the perfect product. It only works if they can maintain the complete nonexistence of the perfect product from both themselves and all their competitors for around a decade straight, fighting pressure from competitors to create something good to take all the business of people waiting.

I'm more inclined to think that most consumers are just stupid and will buy whatever regardless of its quality, so there's no incentive to put money into high quality manufacturing.
>>
File: udonbunny4.jpg (139 KB, 886x994) Image search: [Google]
udonbunny4.jpg
139 KB, 886x994
Well, looks like this thread is about done~
>>
>>53679407
>
foreground:rgb:da/da/da


https://www.youtube.com/watch?v=lNYcviXK4rg
>>
PS1="\[$(tput bold)\]\!:\u@\w:\$\[$(tput sgr0)\] "
>>
File: 2016-03-25-183130_564x316_scrot.png (155 KB, 564x316) Image search: [Google]
2016-03-25-183130_564x316_scrot.png
155 KB, 564x316
PROMPT='%{$fg[red]%}%D{[%K:%M:%S]}%{$reset_color%} %{$fg[blue]%}%c%{$reset_color%} %{$fg[green]%}» %{$reset_color%}'
>>
>>
File: 1458948050.jpg (223 KB, 900x610) Image search: [Google]
1458948050.jpg
223 KB, 900x610
>>
File: Screenshot_2016-03-25-18-36-32.png (68 KB, 1080x1920) Image search: [Google]
Screenshot_2016-03-25-18-36-32.png
68 KB, 1080x1920
Then I shove it in my ass.
>>
>>53679474
If you've ever typed a command like "reboot" in the wrong shell, you'll be happy to have the hostname is red blinking bold.
>>
File: meme.png (27 KB, 502x326) Image search: [Google]
meme.png
27 KB, 502x326
no frills
>>
>>53677874
Ohhh that's nice op. I never thought to show the current branch on the prompt. Where's the code?
>>
>>53679153
>powerlel
>any year
>>
>>53678737
> Sasha at Sasha system
> Sasha
> Female

You came here and didn't post tits...care to explain why?
>>
>>53685840
10/10
>>
>>53686258
>sasha
>female
u wot
>>
File: tmp.png (129 KB, 1364x750) Image search: [Google]
tmp.png
129 KB, 1364x750
Bottom right is shell, top right is the generated zshrc, left is the code.
>>
>>53678737
Poshel na hui, sasha... I menyai distributsiyu
>>
File: 卍.png (178 KB, 1044x1008) Image search: [Google]
卍.png
178 KB, 1044x1008
Heil.
>>
>>53678697
>No docstrings

How can you live with yourself?
>>
>>53686301
Girls name
>>
>>
>>53686803
it's also a guy's name
>>
My prompt is just:
[time prompt was generated] $

Except that it also shows the last process's exit code if it was non-zero:
[time] [exit code] $
>>
>>53689050
only for slavs, and slavs arent people
>>
>>53681256
>sleep 1
>>
>>53689117
cocи хyй, быдлo
и гoтoвьcя cгopeть в oчищaющeм aтoмнoм плaмeни
>>
>>53680689
It's pretty much a stock Cmder with a fancy Windows theme. Cmder is great for tabbed powershell. It's not as good as Win10's console but it's a helluva lot better than PowerShell and cmd.exe in earlier versions.
>>
>>53686302
>>
>>53685569
fabulous
>>
>>53686190
I like that IBM wallpaper. Nice color scheme anon.
>>
File: not appropriate.png (7 KB, 256x113) Image search: [Google]
not appropriate.png
7 KB, 256x113
>>
File: 2016-03-25-22:05:30-scrot.png (594 B, 159x63) Image search: [Google]
2016-03-25-22:05:30-scrot.png
594 B, 159x63
Pretty simple shit.
>>
anyone got pdksh to support unicode properly?

bash and zsh seem to be the only shells that can handle accented characters
>>
>>53679469
>mfw this pic is still up
>>
>>53690743
pdksh has mostly been replaced my mksh.

Try it.
>>
>>53690995
yeah but the unfortunate thing is i use openbsd

i just don't want any more shit piled up on top of it, i already have all the freedesktop bullshit installed because of Xombrero
>>
>>53691017
Oh i knew you had OpenBSD when you said you used pdksh.
>>
>>53691038
well it seems to be a fork of pdksh at the very least, so im willing to check it out

anything but bash and zsh will do
>>
>>53691050
yeah, I wasn't sure if mksh had unicode but it appears to
mksh targets users who desire a compact, fast, reliable, secure shell not cut off modern extensions; a shell with Unicode support; an actively developed, current, and portable product; one with developers that listen to their users’ requests and implement them if they actually make sense.
>>
File: 56f62dd0b9445.png (16 KB, 962x674) Image search: [Google]
56f62dd0b9445.png
16 KB, 962x674
>>
File: ss.png (40 KB, 648x620) Image search: [Google]
ss.png
40 KB, 648x620
rate
>>
>>53691553
>bash on a BSD based Unix
0/10
>>
>>53691602
OSX comes with bash, and uses it by default though, doesn't it?
>>
File: zsh.png (4 KB, 1022x1062) Image search: [Google]
zsh.png
4 KB, 1022x1062
>>53677874
local col=0 rcol=82 ROLE="${${${:-$(id -Z)}#*:}%:*}"
sumcharvals "$USER@$HOST" $terminfo[colors] col
[[ $ROLE == 'sysadm_r' ]] && rcol=red

PS1="[%B%F{yellow}%D{%H:%M}%f%b]"\
"[%B%F{$col}%n@%m%f:%F{$rcol}$ROLE%f%b]"\
"[%B%F{blue}%~%f%b]"\
$'$(__git_ps1 "[%%F{70}%s%%f]")'\
"%(?..[%B%F{red}%?%f%b])"\
$'\n%(?.%F{green}.%F{red})λ%f '

PS2="... "


Requires git-prompt.sh and sumcharvals (not included)
>>
>>53691615
newer versions, yes.
>>
>>53691602
nah I'm fine with bash, sh/tcsh are for the cool kids
>>
>>53681215
should be handled in your window manager.. so I guess on a Mac I'm not sure how to do it or if you can easily
>>
File: CMD.png (165 KB, 1603x899) Image search: [Google]
CMD.png
165 KB, 1603x899
>>
>>53689950
comfy amber color for muh nightly haxx0ring
>>
File: a.png (62 KB, 757x783) Image search: [Google]
a.png
62 KB, 757x783
>>
Is there a way to replace /home/logname with ~/ in a pdksh PS1?
>>
File: screenshot.png (27 KB, 877x414) Image search: [Google]
screenshot.png
27 KB, 877x414
>>53677874
>>
>>53693515
the PS1 syntax is exactly like bash

so \h
>>
>>53693581
>powershill
>>
>>53693601
Thanks anon
>>
>>53693761
if you're new to using it, you'll also want to set the ENV= variable to $HOME/.kshrc and create that file
>>
>>53693794
Thanks, I was wondering why I had to use .profile
>>
>>53679071
post your tmux conf nigger
>>
>>53692787
what does that uiharu icon do
>>
File: 1457580071577.jpg (41 KB, 200x217) Image search: [Google]
1457580071577.jpg
41 KB, 200x217
whats wrong with using konsole?

give me one thing that doesn't essentially boil down to
>muh rice
>>
>>53694829
in b4
>using kde
>>
Thread replies: 176
Thread images: 71

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.