[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
Alright goys, convince me to switch to zsh go!
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: 120
Thread images: 25
Alright goys, convince me to switch to zsh
go!
>>
I am a /g/ poster, and I am telling you not to switch to zsh.
>>
File: 1310481500822.jpg (36 KB, 805x669) Image search: [Google]
1310481500822.jpg
36 KB, 805x669
>>54220886
Any particular reason why?
Other than it will spoil me and I will find bash disgusting
>>
>>54220859
How about you try it out and tell us
>>
>>54220886
/thread
>>
File: 1461007831710.png (7 KB, 558x493) Image search: [Google]
1461007831710.png
7 KB, 558x493
>/g/ please do the research for me
Implying we care
>>
>>54220859
ext4ever
>>
>>54220859
http://www.ohmyz.sh
>>
File: 1663.jpg (203 KB, 1600x1064) Image search: [Google]
1663.jpg
203 KB, 1600x1064
>>54221649
I'm disappointed that's not an actual domain
>>
File: learnToGoogleFam.png (56 KB, 1280x404) Image search: [Google]
learnToGoogleFam.png
56 KB, 1280x404
>>54220859
>>
>>54220859
Don't switch to zsh

Bash is good enough, it's everywhere and it's compatible

The time you would spend ricing zsh you could actually do fun things or learn a new useful skill
>>
>>54220859
It is mostly preference, I really prefer zsh. Try it out
>>
>>54220859
Do not post portman, my dick can't handle it, I repeat, it can NOT handle it
>>
>>54223924
Who else should I post then?
>>
>>54220911
Karlie kloss uses it and she's a super model and super coder ^~^/*
>>
>>54223998
>posting glorious jewesses
anon pls
>>
>>54224028
```
ls code
cd..
cd..
cd ..
ls code
cd ..
```
>>
File: 1448342208562.jpg (164 KB, 1536x1917) Image search: [Google]
1448342208562.jpg
164 KB, 1536x1917
>>54223924
Try this one

hint: shes a robowaifu
>>
>>54225583
>robowaifu
she's human
>>
File: dumbasses.png (81 KB, 624x628) Image search: [Google]
dumbasses.png
81 KB, 624x628
>>54224028
>>
>>54225583
I can't run tumblr on my atom n550
>>
>>54220859
fish > bash >zsh
>>
>>54225583
robo-waifu
scarjo
>>
>>54220859
zsh and Prezto because you're on /g/, which automatically means you're a ricer faggot.
>>
>>54225558
Kek
>>
why not? prezto zsh is so easy to set up and way better than bash.
>>
File: natalie42.jpg (159 KB, 630x1200) Image search: [Google]
natalie42.jpg
159 KB, 630x1200
>>54226530
what makes it better?
>>
>>54226029
oh boi, the future is now
>>
>>54225583
Women would get btfo when the robots start looking like that.
>>
it's not really any different. just more hip in screenfetch
>>
Any reason why fish is bad?
>>
>>54229429
fish isn't bad
>>
i dunno. you can install it in like 10 minutes and it literally doesn't affect your workflow at all. only thing i actually noticed was the tab insensitive completion
>>
>>54229597
case insensitive*
>>
see something like bash-it if you want to stick with bash but desire more zsh like features.

there is also ohmyzsh.

have tried both, but usually just stick with bash. should give fish a try, but haven't bothered yet.
>>
File: natalie_.jpg (124 KB, 776x1000) Image search: [Google]
natalie_.jpg
124 KB, 776x1000
>>54229597
Will it spoil me?
>>
File: photo.jpg (79 KB, 900x900) Image search: [Google]
photo.jpg
79 KB, 900x900
>>54221494
oh my
>>
>>54223166
Agreed for the most part. I use bash on all servers I interact with because it's the default shell and leave it alone. I do use zsh on my workstation, but only for the (slightly) better auto-completion.

Like this anon says, don't waste your time ricing shit though. Use what gets the job done and doesn't waste your time.
>>
>>54229653
it will not spoil you if you post one more portman
>>
File: natalie37.jpg (74 KB, 531x800) Image search: [Google]
natalie37.jpg
74 KB, 531x800
>>54229669
man I hate that image
>>
File: 1458804286554.jpg (118 KB, 850x638) Image search: [Google]
1458804286554.jpg
118 KB, 850x638
>>54229653
>>54228052
>>54228005
>>54223998
>>54221995
>>54220911
>>54220859
don't avatarfag, just use a trip if you want us to know who you are


zsh is the best shell, it's like bash but better. there's literally no reason to not use it, unless you're allergic to installing superior software.
>>
>>54229669
I really, really like this image. Can I save it?
>>
>>54229862
>dont avatarfag
>avatarfags
>>
>>54229862
She is so cute
>>
File: 1371772965761.jpg (87 KB, 1280x720) Image search: [Google]
1371772965761.jpg
87 KB, 1280x720
>>54230038
>implying maki is not the official waifu of /g/
>implying i am making multiple posts with maki as my avatar
>>
>>54220859
fuzzy completion
>>
>>54230064
>weeaboo posts
>not absolute cancer
>>
>>54230064
>maki
>not lain
>>
>>54230123
DELETE THIS
>>
>>54221995
It actually is, I think the `www.` subdomain just doesn't have a DNS record and breaks the link
>>
>>54229862
>>54230064
>don't avatarfag
>avatarfags
>>
>>54220859
It's faster, more modern, more easily customizable, more powerful, more secure and more maintained.

Why this this thread exist?!
>>
>>54229429
>hosts a HTTPd for configuration
nope nope nope nope

too hipster for me
>>
zsh use bloat. Use mksh or bash, bash because ITS ALREADY INSTALLED. So installing another shell is also bloat.
>>
>>54230064
Love lain
>>
>>54230391
Layne was a junkie
>>
Friendly reminder that someone who knows how to use sh, bash, zsh, fish, tcsh is better than some wannabe who only knows bash.
>>
>>54230797
She is just mentally ill. But that is part of what makes her lain.
>>
>>54231112
Agreed, William DuVall just can't replace him
>>
>>54220859
Switch to fish
prediction of commands
>>
>>54231543
so, fish is a fresh new hipster meme?
>>
>>54232357
No, it's just a fast way of entering commands as if you were in the system
>>
>>54232541
what does "in the system" mean?
>>
>>54232609
in '''''the''''' system
>>
File: natalie61.jpg (877 KB, 2453x3120) Image search: [Google]
natalie61.jpg
877 KB, 2453x3120
Oh nice, my thread is still alive
>>
>>54233505
go zsh
>>
>>54220859
http://de.slideshare.net/jaguardesignstudio/why-zsh-is-cooler-than-your-shell-16194692
>>
File: ascii_fish.png (23 KB, 210x147) Image search: [Google]
ascii_fish.png
23 KB, 210x147
>>54220859
Try fish.
>>
File: IK80NtB.jpg (81 KB, 500x642) Image search: [Google]
IK80NtB.jpg
81 KB, 500x642
I tried it, I like the interactive autocompletion, the switch from bash wasn't even that hard on the first sight. Seems comfy for now, and I still haven't done any customization. Not disappointed
>>
Natalie Portman thread
>>
>>54220859
god she's so fuckable i just want her right now
>>
File: natalie-portman-net-worth.jpg (42 KB, 522x650) Image search: [Google]
natalie-portman-net-worth.jpg
42 KB, 522x650
>>54233921
She is fuckable indeed, and I don't just want her right now, I want her all the time
>>
I just like the case insensitive auto completion and nice themes :3
>>
File: 7yjG1lk.jpg (176 KB, 863x1193) Image search: [Google]
7yjG1lk.jpg
176 KB, 863x1193
>>54234133
By the way can you recommend some sexy themes?
>>
>>54231543
There's zsh-autosuggestions, kike.
>>
>>54234133
seriously why doesnt bash have case insensitive autocompletion? even windows cmd.exe has it
>>
>>54235716
because muh posix environment
>>
>>54230123
This.
Also daily reminder to love lain, you normie fags.
>>
>>54235813
I missed the part where POSIX requires tools to be purposefully difficult for humans to use.
>>
>>54220859
>zsh
>not fish
Move to fish, because its the friendliest shell out there.
>>
>>54220859
just use fish
>>
>>54235851
>>54235883
what makes fish so good?
>>
>>54235971
It's hip and modern, makes web devs cum hard
>>
>>54235971
It makes me cum every day when it announces how friendly it is.
And its not lying.
>>
>>54235971
It doesn't make me cum for the record but I still like it
>>
>>54235883n
can I use fish even if I'm vegetarian?
>>
>>54236116
as long as you don't eat it, sure.
>>
>>54236145
But fishes and birds are just small animals, they don't even count
>>
>>54236272
Good way to trigger an actual vegan
>>
Fish and then $ omf install jump
It's 10/10
>>
>zsh is so great, it has all these extra features over bash that you will never use and don't care about, so why haven't you switched yet?

every zshfag ever
>>
File: moZPGh1.jpg (574 KB, 1357x1281) Image search: [Google]
moZPGh1.jpg
574 KB, 1357x1281
average zsh user
>>
>>54236647
cd KEK
>>
>>54236681
`cd: no such file or directory: KEK`
>>
>>54236569
This, but unironically
>>
>>54236647
>a finger on her ring
Is she married?
>>
just get fish
>>
Typical Zsh-Bash comparison thread. Bash does have 3/4 of what you list as Zsh advantages.
>>
Fish is fucking nice as an interactive shell. I'm even considering switching my scripts to it when variable expansion finally gets released. It's just too tempting to use that spinner from fisherman as progress bar. It even supports a lighter version of powerline that doesn't take as long to load. I tried zsh with a plugin to get similar completion features as fish but it's a slow clunky mess and I will not compromise the history completion with speed.
>>
I've used zsh for many years now. For me it's things like zmv and the emulate stuff that really puts it above csch/bash.
You can use oneliners for a lot of things where you'd have to write a function in bash.

http://www.rayninfo.co.uk/tips/zshtips.html

also there are a lot of fantastic configurations ready to use grml-zsh, oh-my-zsh and more.
>>
>>54236647
i fucking hate women
>>
>>54236647
>she needs to join our startup

""""Men"""" encouraging this faggotry is the problem.
>>
>>54237932
desperate faggots doing everything to get their dick wet
>>
>>54229429
I have used fish for over a year. i love using the arrow buttons to autocomplete. default its awesome. I could use bash but it always feels..restricted somehow
>>
File: 1434556564966.jpg (157 KB, 683x1024) Image search: [Google]
1434556564966.jpg
157 KB, 683x1024
>>54220859
zsh is for hipsters (macfags) who can't configure their PS1 themself. Impressed by suddlenly colored command prompt, zshfags are impressed and suggest everyone that it's just better, but in reality, 90% zsh does, can be done in bash too. Even worse are oh-my-zsh fags, who literally can't even write own aliases.
>As seen on plebbit:
>"Don't forget to install ohmyzsh, Sir."
In reality you get "advanced" aliases like https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/lol/lol.plugin.zsh and tons of apple cuck bullshit.

Seriously OP, learn how Bash works, stay POSIX compatible in scripting. don't fall for incompatible hipster memes.

Don't fall for fish also, it's even worse because not POSIX compatible.
>>
>>54238093
>Don't fall for fish also, it's even worse because not POSIX compatible.
who the fuck needs posix when you can literally type sh -c 'muh oneliner from stackoverflow'
It doesn't even suffer from womanscripting ala oh-my-[insert_popular_shell_here] since it has a proper plugin management system named fisherman.
>>
>>54238093
zsh can do everything that bash can m8, I only use it over bash because of it's autocomplete method.
>>
>>54238178
>implying BASH doesn't have autocomplete
>>
>>54238141
>since it has a proper plugin management system named fisherman.
Fisherman literally IS fish's oh-my-$SHELL
>>
>>54238399
Not really, it doesn't alter your shell in any way. It just installs a function that you can use to get a specific plugin installed, be it getopts or a powerline prompt or whatever.
The last time i tried oh-my-zsh it installed a functon of aliases and modified zsh config files itself.
>>
>>54238444
>Not really, it doesn't alter your shell in any way

OK, I see what you mean, but to me that's just a side-effect of fish auto-loading functions from .config/fish/functions and the prompt being itself oa function (fish_prompt).

I'm sure you could do the same for bash, with just some minor additions to your .bashrc (i.e. auto-loading .config/bash/*.sh and setting PS1=$(bash_prompt) or similar). That's probably how oh-my-zsh/zprezto et al do it.
>>
>>54233952
>She is fuckable indeed, and I don't just want her right now, I want her all the time

>implying shes not filthy kike
>fuckable
>jew
>doesnotcompute
>>
someone post asian engineering bimbo.
atleast she knows what shes talking about.
>>
File: 9w5AG9S.jpg (409 KB, 1360x1813) Image search: [Google]
9w5AG9S.jpg
409 KB, 1360x1813
>>54238637
>being this gay
>>
>>54238093
>>In reality you get "advanced" aliases like https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/lol/lol.plugin.zsh and tons of apple cuck bullshit.
cringe
>>
tcsh is the best
>>
>>54241201
hnnnng
>>
>>54241201
there's a webm of her in this outfit, would some kind soul please post ?
>>
>>54238093
>zshfags are impressed and suggest everyone that it's just better, but in reality, 90% zsh does, can be done in bash too.
How can I do fuzzy, partial, case-insensitive globbing in bash?

e.g.
tail -f /v/t/p/**/firefox//build.log<Tab>

expands to
tail -f /var/tmp/portage/www-client/firefox-45.0.1/temp/build.log


Also, what about whitespace-aware globbing in loops? e.g.
$ for x in {hello,goodbye}' world'; do touch $x; done
$ for x in **/*.flac; do something $x; done
>>
>>54243521
Oh, and suppose it was ambiguous, e.g. I had both
/var/tmp/portage/www-client/firefox-45.0.1/temp/build.log

and
/var/tmp/portage/www-client/firefox-44/temp/build.log


Then it would tab complete to
/var/tmp/portage/www-client/firefox-4/temp/build.log
with my cursor after the ‘4’ and show a completion list of my two options (with the original, non-expanded glob as a third option).

When tabbing through one of the completions, my cursor gets moved back to the end.
Thread replies: 120
Thread images: 25

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.