DeskTux

Linux on Desktops

User Tools

Site Tools


apps:zsh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
apps:zsh [2019-01-29 14:18]
jens Adding History Explanation
apps:zsh [2019-03-15 13:36] (current)
jens [History] Correction
Line 55: Line 55:
 The file contains two sections, the upper is suitable for a system-wide configuration as it sets some options (umask and prompt color) depending on whether you are root or not. Of course you can choose to ignore that and use that configuration for yourself only (i.e. only settings for non-root will be activated). The file contains two sections, the upper is suitable for a system-wide configuration as it sets some options (umask and prompt color) depending on whether you are root or not. Of course you can choose to ignore that and use that configuration for yourself only (i.e. only settings for non-root will be activated).
  
-The lower part is suitable for either your personal configuration or as a syste-wide configuration,​ depending on your wishes. Personally I'd advise to put as much in your personal configuration as possible. Just unpack the file and have a look at the comments for more information.+The lower part is suitable for either your personal configuration or as a system-wide configuration,​ depending on your wishes. Personally I'd advise to put as much in your personal configuration as possible. Just unpack the file and have a look at the comments for more information.
  
 This file will give you these options (amongst others): This file will give you these options (amongst others):
Line 70: Line 70:
 The ''​history''​ command of the ZSH works different than the BASH history. By default, only the last 15 history entries are shown. You could just ''​grep''​ or ''​less''​ your ''​~/​.zsh_history''​ file for getting the information you want, but there are more convenient ways. The ''​history''​ command of the ZSH works different than the BASH history. By default, only the last 15 history entries are shown. You could just ''​grep''​ or ''​less''​ your ''​~/​.zsh_history''​ file for getting the information you want, but there are more convenient ways.
  
-''​history'' ​     | Show the last 15 entries of your history. ​                            | +''​history'' ​     | Show the last 15 entries of your history. ​                            | 
-''​history ​-1'' ​  ​| Show all history entries. ​                                            | +''​history ​0'' ​   | Show all history entries. ​                                            | 
-''​history -i'' ​  | Show the last 15 history entries including human readable timestamps. | +''​history -i'' ​  | Show the last 15 history entries including human readable timestamps. | 
-''​history -i 1''​ | Show all history entries including human readable timestamps. ​        |+''​history -i 0''​ | Show all history entries including human readable timestamps. ​        |
  
 All history entries are always numbered. Note that human readable timestamps only work with the extended history enabled. All history entries are always numbered. Note that human readable timestamps only work with the extended history enabled.
apps/zsh.1548767908.txt.gz · Last modified: 2019-01-29 14:18 by jens