mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
zsh.nix -> shell.nix
This commit is contained in:
parent
22cefdca3c
commit
c7d8d0b3d4
6 changed files with 12 additions and 11 deletions
|
|
@ -64,6 +64,7 @@ in
|
|||
'' else ''
|
||||
''}
|
||||
eval $(dircolors)
|
||||
PROMPT_EOL_MARK='''
|
||||
ZSH_TAB_TITLE_ADDITIONAL_TERMS='foot'
|
||||
ZSH_TAB_TITLE_ENABLE_FULL_COMMAND=true
|
||||
zmodload -i zsh/complist
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
imports = [
|
||||
./vim
|
||||
./rink.nix
|
||||
./zsh.nix
|
||||
./shell.nix
|
||||
./rustfmt.nix
|
||||
./packages.nix
|
||||
./cookiecutter.nix
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
./gpg.nix
|
||||
./weechat.nix
|
||||
./email.nix
|
||||
./zsh.nix
|
||||
./shell.nix
|
||||
./pass.nix
|
||||
./taskwarrior.nix
|
||||
./bitw.nix
|
||||
|
|
|
|||
9
config/users/kat/personal/shell.nix
Normal file
9
config/users/kat/personal/shell.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, lib, ... }: with lib;
|
||||
|
||||
{
|
||||
programs.zsh = {
|
||||
shellAliases = genAttrs ["radio" "tv"] (attr: {
|
||||
"abby${attr}" = "mpv $(bitw get secrets/abby -f ${attr})";
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
programs.zsh = {
|
||||
shellAliases = {
|
||||
abbyradio = "mpv $(pass secrets/abbyradio)";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue