[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr / vt ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

Due to resource constraints, /g/ and /tg/ will no longer be archived or available. Other archivers continue to archive these boards.Become a Patron!

/g/ - Technology

View post   

[ Toggle deleted replies ]
File: 17 KB, 346x146, file.png [View same] [iqdb] [saucenao] [google] [report]
61024362 No.61024362 [Reply] [Original] [archived.moe] [rbt]

zsh vs bash vs other shells

convince me to use zsh over bash

>> No.61024373

Bidirectional globbing.

>> No.61024375


>> No.61024380

Works in bash

>> No.61024411
File: 26 KB, 820x438, file.png [View same] [iqdb] [saucenao] [google] [report]


>> No.61024440

ohmyzsh is good

>> No.61024452

But why you want to be convinced?

>> No.61024462

Because I see a lot of people advocating it and using it here. Mostly in screenfetch breads though

>> No.61024479

You can't even do "!!" to run the previous command on zsh, I wouldn't bother

>> No.61024485

zsh is bloated, stay on bash

>> No.61024494

That's not what I meant.

Try writing part of your filename from the back and pressing enter. It doesn't autocomplete leftwards, only rightwards.

>> No.61024495

Works on my machine™

>> No.61024505

its crap, really fucking annoying how it constantly updates and changes how it works. same goes for zpresto. learn how to configure your shell yourself. man bash, man zsh

>> No.61024542

rc for bigger scripts
sh for smaller and portable scripts
mksh/oksh as interactive shell

>> No.61024578

learn how to use bash or ksh first, if it doesn't do what you need then maybe look at zsh. Everytime you add more stuff to your unix that you don't understand, you end up with more bloat that slows your system down and gets in your way. Before you know it your waiting for tab completion that tries querying your network and all sorts of ungodly things you probably don't need. Take it from me, I've been down all these paths and now perhaps regret all that time spent ricing and playing with stupid command prompt features that I don't need. But you're probably young and will ignore me anyway so I'm not sure why I'm bothering perhaps it's senility.

Here is a command prompt setting for you. Use it wisely

export PS1='\$ '

>> No.61024618

>Before you know it your waiting for tab completion that tries querying your network
In what scenario would that ever happen?

>> No.61024671

It's truly inspirational that you're able to use a computer despite being mentally retarded.

>> No.61024702


>> No.61024986
File: 54 KB, 620x330, 1468174170863.jpg [View same] [iqdb] [saucenao] [google] [report]

I have zsh with zlug and it is pretty nice. I used oh-my-zsh and antigen before that and those are shit compared to zplug. Here's the plugins I use:

zplug "jamesob/desk", as:command, use:"desk"
zplug "raylee/tldr", as:command, use:"tldr"
zplug "rimraf/k"
zplug "djui/alias-tips"
zplug "b4b4r07/enhancd", use:init.sh
zplug "zsh-users/zsh-syntax-highlighting"
zplug "zsh-users/zsh-history-substring-search

>> No.61025061

tab auto completion, this single feature is enough to make anyone want to go beyond default bash

>> No.61025169

The powershell is still the king. It's fully cross platform and really works!
All those pseudo bash shells should die!

>> No.61027348

For bigger scripts you might as well use Lua, Python or Go

>> No.61027400

If you don't need anything else then keep using bash, if you want to get some more features go for zsh ffs just Google the differences

>> No.61027405
File: 263 KB, 480x479, 1479593516742.gif [View same] [iqdb] [saucenao] [google] [report]

i used ZSH with ohmyzsh. bloat.
now i use fish. you should give it a shot.

>> No.61027446
File: 12 KB, 391x256, pshh.png [View same] [iqdb] [saucenao] [google] [report]

>Not using Powershell
Then again, you use Linux so you basically know nothing about computers.

>> No.61027563

fish isn't POSIX compliant tho


>> No.61027821

zsh+ohmyzsh is easier to rice

>> No.61028055
File: 33 KB, 550x550, Why the fuck is this?.jpg [View same] [iqdb] [saucenao] [google] [report]

> excessive bloat on your system is bad
> so use a prompt so bare-bones it's useless
There are more than two possibilities, you know.

>> No.61028897
File: 2.98 MB, 1474x1600, 1497821486800.jpg [View same] [iqdb] [saucenao] [google] [report]


>> No.61029581

>being this in denial about Windows being a botnet
Powershell is nothing like bash. It's bascially all of bash's best elements removed and added shitty ones.

>> No.61029642

No it fucking isn't. It's bloated piece of shit. Use ZIM.

>> No.61029672
File: 175 KB, 1366x768, 2017-06-22-200010_1366x768_scrot.png [View same] [iqdb] [saucenao] [google] [report]


>> No.61029675
File: 186 KB, 960x1062, wew.png [View same] [iqdb] [saucenao] [google] [report]

>export PS1='\$ '
lmao no

>> No.61029677

How do we know if we're in control? That we're not just making the best of what comes at us, and that's it? Trying to constantly pick between two shitty options? Like your two paintings in the waiting room. Or... Arch and Gentoo? Bash or Zsh? 4chan or reddit? Hmm. It's all part of the same blur, right? Just out of focus enough. It's the illusion of choice. Half of us can't even pick our own... our cable, gas, electric. The water we drink, our health insurance. Even if we did, would it matter? You know, if our only option is C++ or Java, what the fuck is the difference? In fact, aren't they... aren't they the same? No, man... our choices are prepaid for us, long time ago.

>> No.61029714

You are describing textbook depression.

>> No.61029754
File: 701 KB, 950x534, file.png [View same] [iqdb] [saucenao] [google] [report]

Nah, man.

>> No.61029903

Use prezto

>> No.61029905
File: 132 KB, 700x544, Cima_da_Conegliano,_God_the_Father.jpg [View same] [iqdb] [saucenao] [google] [report]

Nah, man.

>> No.61031328
File: 57 KB, 500x500, 1497987768629.jpg [View same] [iqdb] [saucenao] [google] [report]

How do I create a bash script that uses "rsync" command for backups and restores?

Name (leave empty)
Comment (leave empty)
Password [?]Password used for file deletion.