Version 0.1.0
This commit is contained in:
21
home-manager/30_zsh/01_zshrc.nix
Normal file
21
home-manager/30_zsh/01_zshrc.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestions.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
initExtra = ''
|
||||
PROMPT='%F{white}%BNixOS%f%F{magenta}_%f%F{blue}persephone%f %F{black}❯%f '
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main)
|
||||
|
||||
# animated splash if you still want it
|
||||
if [[ -n $PS1 ]]; then
|
||||
~/.config/neofetch/animated-neofetch.sh 0.05
|
||||
clear
|
||||
fi
|
||||
'';
|
||||
};
|
||||
}
|
||||
7
home-manager/30_zsh/default.nix
Normal file
7
home-manager/30_zsh/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./01_zshrc.nix
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user