Cargando…

Learning Shell Scripting with Zsh.

A step-by-step tutorial that will teach you, through real-world examples, how to configure and use Zsh and its various features. If you are a system administrator, developer, or computer professional involved with UNIX who are looking to improve on their daily tasks involving the UNIX shell, "&...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Festari, Gaston
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2014.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; Installing zsh; Installing on Linux; Installing on OS X; Compiling from source; First run; Making zsh your login shell; Shell options; The startup files; The shell prompt; The prompt command; Customizing the prompt; Using escape sequences; Conditional expressions; Putting it all together; Summary; Chapter 2: Alias and History; Working with aliases; Quoting characters; Single and double quoting aliases; Global aliases; Hashes; Putting it all together.
  • ExpansionParameter expansion; Command substitution; Arithmetic expansion; Brace expansion; Working with history; History expansion; History substitution; More useful options; Summary; Chapter 3: Advanced Editing; Zsh Line Editor; Getting to know ZLE; Working with keymaps; Basic editing; Going back and forth with words; Yanking and transposing text; History revisited; Advanced editing; ZLE-related options; Defining your own keymaps; Don't call them widgets; Defining your own widgets; Your first function; Working with regions; Multiline editing; Putting it all together; Summary.
  • Chapter 4: GlobbingQuoting your strings; Double quotes; Getting started with Globbing; Globbing with the stars; Questions for any single character; Brackets for a sequence of characters; Using safer ranges on your scripts; Avoiding characters; Handling mismatches; Extended Globbing; Special patterns; Recursive searching; Alternate patterns; Numeric ranges; The caret operator, revisited; The tilde operator; Glob qualifiers; Timestamp qualifiers; File size qualifiers; The zmv function; Summary; Chapter 5: Completion; Getting started with completion; Getting assertive with zstyle.
  • Command correctionCompleters; Ignoring matches; Function definitions; The path of the function; Summary; Chapter 6: Tips and Tricks; Main resources; Helping tips; Directory substitution; Magic space; Random numbers; zcalc; Change and list directory contents; Finding your path through commands; Other projects; zsh-lovers; zsh-users; oh-my-zsh; Prezto; Explain Shell; Your dotfiles; Summary; Index.