Learn the basics of the ZSH shell

'Bash isn't bad. It gets the job done just fine, but have you ever considered what it'd be like if Bash had some extra features to make it more convenient to work with? That's more-or-less what ZSH is. It includes all of the features that you'd expect from Bash, but it also has some really nice additions to make your life easier. Actually, you'll be amazed at how much easier they make working in the command line. ' -- source: https://linuxconfig.org/learn-the-basics-of-the-zsh-shell Cheers, Peter -- Peter Reutemann Dept. of Computer Science University of Waikato, NZ +64 (7) 858-5174 http://www.cms.waikato.ac.nz/~fracpete/ http://www.data-mining.co.nz/

On Thu, 17 Aug 2017 14:06:20 +1200, Peter Reutemann wrote:
'... have you ever considered what it'd be like if Bash had some extra features to make it more convenient to work with? That's more-or-less what ZSH is.'
Having encountered it as the default shell for SystemRescueCd this evening, I am not impressed. The problem is how it handles tab completion: if the expansion is a directory, you see the slash appear on the end as you would expect. However, if you then add a space to go on to the next argument, the trailing slash disappears! I don’t know what this is supposed to achieve. But if you are trying to construct an rsync command, you may know that there is a difference in behaviour if the source directory path ends with a slash or not.
participants (2)
-
Lawrence D'Oliveiro
-
Peter Reutemann