Commit fd0945ee authored by gari's avatar gari
Browse files

users::garionion fix zsh config

parent 2f581ada
......@@ -3,11 +3,11 @@
{
programs.zsh = {
enable = true;
history = {
size = 10000;
path = "~/.zsh_history";
};
initExtra = ''
histSize = 10000;
enableAutosuggestions = true;
enableBashCompletion = true;
enableSyntaxHighlighting = true;
promptInit = ''
source ~/.zkbd/$TERM-''${''${DISPLAY:t}:-''$VENDOR-''$OSTYPE}
[[ -n ''${key[Left]} ]] && bindkey "''${key[Left]}" backward-char
[[ -n ''${key[Right]} ]] && bindkey "''${key[Right]}" forward-char
......@@ -16,9 +16,9 @@
bindkey "''${key[End]}" end-of-line
bindkey "''${key[Delete]}" delete-char
function command_not_found_handler() { command-not-found $1 }
alias cat='bat'
eval "$(starship init zsh)"
function command_not_found_handler() { command-not-found $1 }
alias cat='bat'
eval "$(starship init zsh)"
'';
plugins = [
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment