Update config
This commit is contained in:
parent
e1df4bbbcf
commit
556e0e1eb2
15 changed files with 323 additions and 164 deletions
43
apps/zsh.nix
43
apps/zsh.nix
|
|
@ -1,20 +1,33 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true ;
|
||||
enableCompletion = true ;
|
||||
history = {
|
||||
append = true ;
|
||||
extended = true ;
|
||||
findNoDups = true ;
|
||||
ignoreAllDups = true ;
|
||||
ignoreSpace = true ;
|
||||
ignorePatterns = [ "rm *" "cd *" "ls *" ] ;
|
||||
saveNoDups = false ;
|
||||
};
|
||||
programs.dircolors.enableZshIntegration = true ;
|
||||
programs.zsh = {
|
||||
autosuggestion.enable = true ;
|
||||
dirHashes = {
|
||||
dl = "$HOME/Téléchargements" ;
|
||||
nix = "$HOME/nixos-config" ;
|
||||
};
|
||||
enable = true ;
|
||||
enableCompletion = true ;
|
||||
history = {
|
||||
append = true ;
|
||||
extended = true ;
|
||||
findNoDups = true ;
|
||||
ignoreAllDups = true ;
|
||||
ignoreSpace = true ;
|
||||
ignorePatterns = [ "rm *" "cd *" "ls *" "df *" "du *" "fastfetch" "tree" "pwd" "upd" ] ;
|
||||
saveNoDups = false ;
|
||||
};
|
||||
shellAliases = {
|
||||
h = "history" ;
|
||||
upd = "sudo nixos-rebuild switch --flake $HOME/nixos-config#pennsardin; source ~/.zshrc" ;
|
||||
};
|
||||
shellGlobalAliases = {
|
||||
G = "| grep";
|
||||
M = "| more";
|
||||
};
|
||||
G = "| grep";
|
||||
M = "| more";
|
||||
};
|
||||
syntaxHighlighting.enable = true ;
|
||||
};
|
||||
}
|
||||
|
||||
# vim: set ts=2 sw=2 sts=2 et :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue