zsh

Table of Contents

1. zsh

A terminal alternative to bash, with more features

1.2. How can I run a command in zsh without pushing it onto the current session’s history? - Unix & Linux Stack Exchange

1.5. zsh profile files

https://unix.stackexchange.com/questions/71253/what-should-shouldnt-go-in-zshenv-zshrc-zlogin-zprofile-zlogout

  1. Since .zshenv is always sourced, it often contains exported variables that should be available to other programs. For example, $PATH, $EDITOR, and $PAGER are often set in .zshenv. Also, you can set $ZDOTDIR in .zshenv to specify an alternative location for the rest of your zsh configuration.
  2. .zprofile is basically the same as .zlogin except that it’s sourced before .zshrc while .zlogin is sourced after .zshrc. According to the zsh documentation, “.zprofile is meant as an alternative to .zlogin for ksh fans; the two are not intended to be used together, although this could certainly be done if desired.”
  3. .zshrc is for interactive shell configuration. You set options for the interactive shell there with the setopt and unsetopt commands. You can also load shell modules, set your history options, change your prompt, set up zle and completion, et cetera. You also set any variables that are only used in the interactive shell (e.g. $LS_COLORS).
  4. .zlogin is sourced on the start of a login shell but after .zshrc if the shell is also interactive. This file is often used to start X using startx. Some systems start X on boot, so this file is not always very useful.

More in detail:
https://www.reddit.com/r/zsh/comments/e882c4/what_is_the_difference_between_zshrc_and_zprofile/

1.6. zsh lovers

Cool tricks about zsh
https://grml.org/zsh/zsh-lovers.html

1.7. MAYBE Hacer config de zsh que no utilize oh-my-zsh

1.7.1. zsh - create a minimal config (autosuggestions, syntax highlighting etc..) no oh-my-zsh required

  • En el minuto 15 menciona z oxide
  • En el minuto 17 menciona una url para tomar nota sobre vcs control de sistemas de versiones
  • En el minuto 26 dice falta que dice que no te hace falta oh my zsh

Author: Julian Lopez Carballal

Created: 2021-10-24 Sun 03:38