mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat(zsh.nix): adds old zsh options back
This commit is contained in:
parent
87724dcdcb
commit
2766ab58fb
1 changed files with 23 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
autocd = true;
|
||||
autosuggestion.enable = true;
|
||||
enableCompletion = true;
|
||||
enableGlobalCompInit = true;
|
||||
|
||||
localVariables = {
|
||||
# Looks like this: '~/some/path > '
|
||||
|
|
@ -17,8 +18,30 @@
|
|||
LANG = "en_US.UTF-8";
|
||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=#808080";
|
||||
ZSH_AUTOSUGGEST_USE_ASYNC = 1;
|
||||
HISTSIZE = 100000;
|
||||
SAVEHIST = 100000;
|
||||
HISTFILE = "~/.zsh_history";
|
||||
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE = 1;
|
||||
};
|
||||
|
||||
setOptions = [
|
||||
# Corrections
|
||||
"CORRECT"
|
||||
|
||||
# History stuff
|
||||
"APPEND_HISTORY"
|
||||
"INC_APPEND_HOSTORY"
|
||||
"SHARE_HISTORY"
|
||||
"EXTENDED_HISTORY"
|
||||
"HIST_REDUCT_BLANKS"
|
||||
"HIST_IGNORE_SPACE"
|
||||
|
||||
# Disable annoying beep
|
||||
"NO_BEEP"
|
||||
# Fix comments
|
||||
"INTERACTIVE_COMMENTS"
|
||||
];
|
||||
|
||||
shellAliases = {
|
||||
ls = "eza -lh --git";
|
||||
la = "eza -A --git";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue