mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-30 14:00:43 +00:00
Move over my entire custom zsh configuration
This commit is contained in:
parent
89c5009781
commit
a13fe57f2a
11 changed files with 1059 additions and 25 deletions
31
home/programs/terminal/shell/zsh/init.nix
Normal file
31
home/programs/terminal/shell/zsh/init.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
_:
|
||||
let
|
||||
inherit (builtins) readFile;
|
||||
in
|
||||
{
|
||||
config = {
|
||||
programs.zsh = {
|
||||
initExtra = ''
|
||||
${readFile ./rc/opts.zsh}
|
||||
${readFile ./rc/prompt.zsh}
|
||||
${readFile ./rc/keybinds.zsh}
|
||||
${readFile ./rc/fallback_term.zsh}
|
||||
|
||||
${readFile ./rc/aliases.zsh}
|
||||
${readFile ./rc/functions.zsh}
|
||||
'';
|
||||
|
||||
completionInit = '''
|
||||
${readFile ./rc/completion.zsh}
|
||||
'';
|
||||
|
||||
profileExtra = ''
|
||||
${readFile ./rc/profile.zsh}
|
||||
'';
|
||||
|
||||
envExtra = ''
|
||||
${readFile ./rc/environment.zsh}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue