This commit is contained in:
commit
95a533c876
451 changed files with 18255 additions and 0 deletions
17
modules/home/common/zsh.nix
Normal file
17
modules/home/common/zsh.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkDefault;
|
||||
in
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = mkDefault true;
|
||||
dotDir = "${config.xdg.configHome}/zsh";
|
||||
defaultKeymap = mkDefault "emacs";
|
||||
initContent = ''
|
||||
PROMPT='%F{green}%n%f@%F{blue}%m%f %B%1~%b > '
|
||||
RPROMPT='[%F{yellow}%?%f]'
|
||||
''
|
||||
+ builtins.readFile ./cdf.sh;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue