[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


Thread replies: 176
Thread images: 71

show me your shell prompts and post code
>>
>>53677874
fuck you
stupid wop dego
>>
File: 1449802136312.png (29KB, 780x492px) Image search: [Google] [Yandex] [Bing]
1449802136312.png
29KB, 780x492px
>>53677874
>tfw it's literally useless
>>
File: 1443200201441.png (9KB, 566x361px) Image search: [Google] [Yandex] [Bing]
1443200201441.png
9KB, 566x361px
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 (35KB, 910x503px) Image search: [Google] [Yandex] [Bing]
console.png
35KB, 910x503px
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.
>>
>>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 (44KB, 860x630px) Image search: [Google] [Yandex] [Bing]
Untitled.png
44KB, 860x630px
>>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?
>>
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 (13KB, 581x322px) Image search: [Google] [Yandex] [Bing]
Untitled-1 copy.png
13KB, 581x322px
>>
File: Capture.png (252KB, 649x462px) Image search: [Google] [Yandex] [Bing]
Capture.png
252KB, 649x462px
>>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 (17KB, 661x418px) Image search: [Google] [Yandex] [Bing]
shell.png
17KB, 661x418px
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 (156KB, 850x1133px) Image search: [Google] [Yandex] [Bing]
1443275074678.jpg
156KB, 850x1133px
>>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 (900KB, 480x480px) Image search: [Google] [Yandex] [Bing]
1458920546462.webm
900KB, 480x480px
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 (207KB, 600x500px) Image search: [Google] [Yandex] [Bing]
1455898917040.jpg
207KB, 600x500px
>>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 (193KB, 1020x1440px) Image search: [Google] [Yandex] [Bing]
1434472995731.jpg
193KB, 1020x1440px
>>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 (202KB, 595x741px) Image search: [Google] [Yandex] [Bing]
1448571681115.jpg
202KB, 595x741px
>>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 (142KB, 600x800px) Image search: [Google] [Yandex] [Bing]
reisen.jpg
142KB, 600x800px
>>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 (630KB, 1281x766px) Image search: [Google] [Yandex] [Bing]
1446884444496.jpg
630KB, 1281x766px
>>53679913
If you have to complain about it, it means you obviously don't belong here.
Fuck off to reddit or something.
>>
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 (257KB, 500x522px) Image search: [Google] [Yandex] [Bing]
1433985538526.jpg
257KB, 500x522px
>>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 (1MB, 600x3094px) Image search: [Google] [Yandex] [Bing]
1434650125719.jpg
1MB, 600x3094px
>>53680063
Hime is not shit!
>>
File: 19.jpg (160KB, 533x814px) Image search: [Google] [Yandex] [Bing]
19.jpg
160KB, 533x814px
>>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 (710KB, 1200x1600px) Image search: [Google] [Yandex] [Bing]
1455258654123.jpg
710KB, 1200x1600px
>>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 (432KB, 726x1027px) Image search: [Google] [Yandex] [Bing]
61.jpg
432KB, 726x1027px
>>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 (12KB, 564x415px) Image search: [Google] [Yandex] [Bing]
1430894415315.png
12KB, 564x415px
just fish shell with a theme through oh-my-fish
>>
File: 1447757284875.png (126KB, 500x500px) Image search: [Google] [Yandex] [Bing]
1447757284875.png
126KB, 500x500px
>>53680494
More Reisens are always welcome.
>>
File: 1449343447697.png (17KB, 590x441px) Image search: [Google] [Yandex] [Bing]
1449343447697.png
17KB, 590x441px
>>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 (131KB, 678x1048px) Image search: [Google] [Yandex] [Bing]
scr.png
131KB, 678x1048px
>>
File: 111.jpg (302KB, 500x1000px) Image search: [Google] [Yandex] [Bing]
111.jpg
302KB, 500x1000px
>>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 (25KB, 480x494px) Image search: [Google] [Yandex] [Bing]
1446183201575.jpg
25KB, 480x494px
>>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 (769KB, 368x384px) Image search: [Google] [Yandex] [Bing]
zsh.webm
769KB, 368x384px
>>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 (342KB, 780x877px) Image search: [Google] [Yandex] [Bing]
udonbunny.jpg
342KB, 780x877px
>>53680946
I'm just laughing at this now.

Here's the Reisen, polite sage.
>>
>>53679071
juicessh master race
>>
File: 1356332933932.jpg (225KB, 680x680px) Image search: [Google] [Yandex] [Bing]
1356332933932.jpg
225KB, 680x680px
>>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 (683KB, 860x780px) Image search: [Google] [Yandex] [Bing]
udonbunny2.jpg
683KB, 860x780px
>>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.
>>
>>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 (85KB, 540x800px) Image search: [Google] [Yandex] [Bing]
udonbunny3.jpg
85KB, 540x800px
>>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 (139KB, 886x994px) Image search: [Google] [Yandex] [Bing]
udonbunny4.jpg
139KB, 886x994px
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)\] "
>>
PROMPT='%{$fg[red]%}%D{[%K:%M:%S]}%{$reset_color%} %{$fg[blue]%}%c%{$reset_color%} %{$fg[green]%}» %{$reset_color%}'
>>
>>
File: 1458948050.jpg (223KB, 900x610px) Image search: [Google] [Yandex] [Bing]
1458948050.jpg
223KB, 900x610px
>>
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 (27KB, 502x326px) Image search: [Google] [Yandex] [Bing]
meme.png
27KB, 502x326px
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 (129KB, 1364x750px) Image search: [Google] [Yandex] [Bing]
tmp.png
129KB, 1364x750px
Bottom right is shell, top right is the generated zshrc, left is the code.
>>
>>53678737
Poshel na hui, sasha... I menyai distributsiyu
>>
File: 卍.png (178KB, 1044x1008px) Image search: [Google] [Yandex] [Bing]
卍.png
178KB, 1044x1008px
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 (7KB, 256x113px) Image search: [Google] [Yandex] [Bing]
not appropriate.png
7KB, 256x113px
>>
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 (16KB, 962x674px) Image search: [Google] [Yandex] [Bing]
56f62dd0b9445.png
16KB, 962x674px
>>
File: ss.png (40KB, 648x620px) Image search: [Google] [Yandex] [Bing]
ss.png
40KB, 648x620px
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 (4KB, 1022x1062px) Image search: [Google] [Yandex] [Bing]
zsh.png
4KB, 1022x1062px
>>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 (165KB, 1603x899px) Image search: [Google] [Yandex] [Bing]
CMD.png
165KB, 1603x899px
>>
>>53689950
comfy amber color for muh nightly haxx0ring
>>
File: a.png (62KB, 757x783px) Image search: [Google] [Yandex] [Bing]
a.png
62KB, 757x783px
>>
Is there a way to replace /home/logname with ~/ in a pdksh PS1?
>>
File: screenshot.png (27KB, 877x414px) Image search: [Google] [Yandex] [Bing]
screenshot.png
27KB, 877x414px
>>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 (41KB, 200x217px) Image search: [Google] [Yandex] [Bing]
1457580071577.jpg
41KB, 200x217px
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
[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.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK