zsh
Table of Contents
- 1. zsh
- 1.1. Integration with system clipboard
- 1.2. How can I run a command in zsh without pushing it onto the current session’s history? - Unix & Linux Stack Exchange
- 1.3. https://github.com/romkatv/zsh4humans#
- 1.4. A comparison of all the ZSH plugin mangers I used : zsh
- 1.5. zsh profile files
- 1.6. zsh lovers
- 1.7. MAYBE Hacer config de zsh que no utilize oh-my-zsh
1. zsh
A terminal alternative to bash, with more features
1.1. Integration with system clipboard
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
- 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. - .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.”
- .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
). - .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