test
This commit is contained in:
parent
57736d3b98
commit
992fd5f726
18 changed files with 0 additions and 0 deletions
43
temp-Modules/Applications/Shell/zsh/default.nix
Normal file
43
temp-Modules/Applications/Shell/zsh/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
|
||||
plugins = [
|
||||
{
|
||||
name = "zsh-autosuggestions";
|
||||
src = pkgs.zsh-autosuggestions;
|
||||
}
|
||||
{
|
||||
name = "zsh-syntax-highlighting";
|
||||
src = pkgs.zsh-syntax-highlighting;
|
||||
}
|
||||
];
|
||||
|
||||
initContent = ''
|
||||
hyfetch
|
||||
|
||||
alias ls='lsd'
|
||||
alias l='ls -l'
|
||||
alias la='ls -a'
|
||||
alias lla='ls -la'
|
||||
alias lt='ls --tree'
|
||||
|
||||
HISTFILE=~/.zsh_history;
|
||||
HISTSIZE=10000;
|
||||
SAVEHIST=10000;
|
||||
setopt appendhistory;
|
||||
'';
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
zsh-autosuggestions
|
||||
zsh-syntax-highlighting
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue