1st commit
This commit is contained in:
commit
74d15b4c6a
25 changed files with 1328 additions and 0 deletions
34
home/modules/zsh.nix
Executable file
34
home/modules/zsh.nix
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.zsh];
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
shellAliases = {
|
||||
home = "nvim /home/benag/.nix-config/home/home.nix";
|
||||
config = "nvim /home/benag/.nix-config/configuration/configuration.nix";
|
||||
fl = "nvim /home/benag/.nix-config/flake.nix";
|
||||
rebuild = "sudo nixos-rebuild switch --flake /home/benag/.nix-config#benag";
|
||||
cat = "bat -p -P";
|
||||
c = "clear;fastfetch";
|
||||
|
||||
ssh = "TERM=xterm-256color ssh";
|
||||
};
|
||||
|
||||
history = {
|
||||
size = 10000;
|
||||
ignoreAllDups = true;
|
||||
path = "$HOME/.zsh_history";
|
||||
};
|
||||
|
||||
initContent = ''
|
||||
fastfetch
|
||||
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue