This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
zsh [2022-05-20 00:58:20] mi |
zsh [2026-07-14 16:32:43] (current) mi |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| * History: | * History: | ||
| (See also https://unix.stackexchange.com/a/111777/7286) | (See also https://unix.stackexchange.com/a/111777/7286) | ||
| + | |||
| + | (Should add "export" before definitions?) | ||
| HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history | HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history | ||
| Line 30: | Line 32: | ||
| alias history='fc -l -i 1' | alias history='fc -l -i 1' | ||
| + | # or | ||
| + | alias history='history -i 0' | ||
| * case-insensitive globbing, and don't tab-complete all directly : | * case-insensitive globbing, and don't tab-complete all directly : | ||