better zsh config
This commit is contained in:
parent
3fb1543cb5
commit
f6207b8a7a
23
home.nix
23
home.nix
|
@ -2,15 +2,32 @@
|
||||||
# initial version
|
# initial version
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
|
|
||||||
# ZSH with some nice prompt and extra main user configuration
|
# ZSH with good config
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
# zsh with extras wanted
|
# ZSH on
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
# we want completion
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
|
||||||
|
# we want suggestions of already typed stuff
|
||||||
autosuggestion.enable = true;
|
autosuggestion.enable = true;
|
||||||
history.share = false;
|
|
||||||
|
# we want nice command highlighting
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
|
|
||||||
|
# better history
|
||||||
|
history = {
|
||||||
|
# save timestamps
|
||||||
|
extended = true;
|
||||||
|
|
||||||
|
# kill dupes over full history
|
||||||
|
ignoreAllDups = true;
|
||||||
|
|
||||||
|
# don't share history between sessions
|
||||||
|
share = false;
|
||||||
|
};
|
||||||
|
|
||||||
# aliases
|
# aliases
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
# system build/update/cleanup
|
# system build/update/cleanup
|
||||||
|
|
Loading…
Reference in a new issue