Announcement

Collapse
No announcement yet.

Z Shell is cooler than your shell

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Z Shell is cooler than your shell

    Just found information about a "new" shell that appears to be cooler than bash.

    Why Z Shell is cooler than your shell

    Now if only I had the confidence to replace bash with Z shell.

    #2
    Originally posted by NickStone View Post
    ... a "new" shell...
    Well into its third decade, not really "new".

    Regards, John Little
    Regards, John Little

    Comment


      #3
      Originally posted by jlittle View Post
      Well into its third decade, not really "new".

      Regards, John Little
      Thats the reason why I put new in inverted commas.

      Comment


        #4
        Originally posted by NickStone View Post
        Now if only I had the confidence to replace bash with Z shell.
        It isn't that big of a change, and you don't have to switch to zsh as the default login shell immediately.
        You can just install zsh and run it from bash (the default zsh shell is somewhat basic, but there are good .zshrc files on the net you can start with to get your feet wet)
        Once you prefer zsh (everyone does...after a while ), you can switch your login shell to /bin/zsh with "chsh" command...you can also revert to using /bin/bash with the same command, of course.

        Comment


          #5
          anyone know why is it not already default for *buntu and many other *nixes?
          Mark Your Solved Issues [SOLVED]
          (top of thread: thread tools)

          Comment


            #6
            I think it is default or incorporated into bash, my bash --version reports;

            GNU bash, version 4.2.25(1)-release (i686-pc-linux-gnu)
            Copyright (C) 2011 Free Software Foundation, Inc.
            License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

            I didn't need a 60 frame slide show to tell me I can do TAB to auto complete directories. I mean I read each and every frame and did not see one thing I can't already do in my current shell... except that last frame wth? it can toss a football? Really?

            BTW if you are looking for new shells you should try "fish" in development since 2005. But I will stick with what I have.
            Last edited by Simon; Aug 29, 2013, 09:12 AM. Reason: btw comment added

            Comment


              #7
              Originally posted by sithlord48 View Post
              anyone know why is it not already default for *buntu and many other *nixes?
              Historical baggage, mostly...Id' say

              Originally posted by Simon View Post
              I didn't need a 60 frame slide show to tell me I can do TAB to auto complete directories.
              I think you can mostly get zsh-like auto completion in bash these days (menu-complete), but I'm not 100% sure as it's been ages since I've used bash regularly (enough to push it to the limits of what it can do), but bash's default tab completion sucks big time compared to zsh:
              http://mikegrouchy.com/blog/2012/01/...ur-friend.html
              https://scottlinux.com/2011/08/19/qu...auto-complete/

              Also, zsh has better options for custom prompts and better and more extensive shell built-ins.
              Last edited by kubicle; Aug 29, 2013, 10:11 AM.

              Comment


                #8
                Originally posted by kubicle View Post
                It isn't that big of a change, and you don't have to switch to zsh as the default login shell immediately.
                You can just install zsh and run it from bash (the default zsh shell is somewhat basic, but there are good .zshrc files on the net you can start with to get your feet wet)
                Once you prefer zsh (everyone does...after a while ), you can switch your login shell to /bin/zsh with "chsh" command...you can also revert to using /bin/bash with the same command, of course.
                Have installed ZSH but have not yet set it up as the default shell. I switch to using it from within konsole. Once I'm familiar with it I'll make it default and possibly remove bash.

                Comment


                  #9
                  Originally posted by NickStone View Post
                  and possibly remove bash.
                  I would not recommend that, even if you switch to zsh as the default shell.

                  You'd run into problems with scripts that use bashisms (and use #!/bin/bash as the shebang). These scripts will work fine if bash is installed, even if the default shell is zsh.
                  If you're interested, I could post my .zshrc for you to try out (won't do it if you don't need one...or already have one that you're satisfied with, as I'd have to remove some local modifications in there just for personal needs).
                  Last edited by kubicle; Aug 30, 2013, 02:26 PM.

                  Comment

                  Working...
                  X