Improve repo structure

This commit is contained in:
Paul-Henri Froidmont 2021-07-16 21:09:58 +02:00
parent fdc4148540
commit 62f200ba03
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
294 changed files with 499 additions and 516 deletions

33
users/froidmpa/zsh.nix Normal file
View file

@ -0,0 +1,33 @@
{ pkgs, ... }:
{
enable = true;
history = {
save = 50000;
size = 50000;
};
enableAutosuggestions = true;
initExtra = ''
autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
zle -N up-line-or-beginning-search
zle -N down-line-or-beginning-search
[[ -n "$key[Up]" ]] && bindkey -- "$key[Up]" up-line-or-beginning-search
[[ -n "$key[Down]" ]] && bindkey -- "$key[Down]" down-line-or-beginning-search
eval $(thefuck --alias)
'';
oh-my-zsh = {
enable = true;
plugins = [
"git"
];
theme = "robbyrussell";
};
plugins = [
{
name = "zsh-syntax-highlighting";
file = "share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh";
src = "${pkgs.zsh-syntax-highlighting}";
}
];
}