parent
a7834176ec
commit
ee84fa45a2
|
@ -2,7 +2,7 @@ for dir in $XDG_CONFIG_HOME/*/bin(N); do
|
|||
export PATH="$dir:$PATH"
|
||||
done
|
||||
|
||||
for file in $XDG_CONFIG_HOME/*/env.zsh(N); do
|
||||
for file in $XDG_CONFIG_HOME/zsh/rc.d/env.*.zsh(N); do
|
||||
source $file
|
||||
done
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ source $ZDOTDIR/config.zsh
|
|||
source $ZDOTDIR/keybinds.zsh
|
||||
source $ZDOTDIR/completion.zsh
|
||||
source $ZDOTDIR/aliases.zsh
|
||||
for file in $XDG_CONFIG_HOME/*/aliases.zsh(N); do
|
||||
for file in $XDG_CONFIG_HOME/zsh/rc.d/aliases.*.zsh(N); do
|
||||
source $file
|
||||
done
|
||||
|
||||
|
|
|
@ -20,8 +20,7 @@ in
|
|||
fonts.fonts = [ pkgs.emacs-all-the-icons-fonts ];
|
||||
|
||||
home-manager.users.hlissner.xdg.configFile = {
|
||||
# Avoid "emacs" because Emacs HEAD respects XDG conventions and we're only
|
||||
# using this directory to store extra zsh config for my nix dotfiles.
|
||||
"emacscfg" = { source = <config/emacs>; recursive = true; };
|
||||
"zsh/rc.d/aliases.emacs.zsh".source = <config/emacs/aliases.zsh>;
|
||||
"zsh/rc.d/env.emacs.zsh".source = <config/emacs/env.zsh>;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
};
|
||||
|
||||
home-manager.users.hlissner.xdg.configFile = {
|
||||
"vim" = { source = <config/vim>; recursive = true; };
|
||||
"zsh/rc.d/aliases.vim.zsh".source = <config/vim/aliases.zsh>;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
];
|
||||
|
||||
home-manager.users.hlissner.xdg.configFile = {
|
||||
"git" = { source = <config/git>; recursive = true; };
|
||||
"git/config".source = <config/git/config>;
|
||||
"git/ignore".source = <config/git/ignore>;
|
||||
"zsh/rc.d/aliases.git.zsh".source = <config/git/aliases.zsh>;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
];
|
||||
|
||||
home-manager.users.hlissner.xdg.configFile = {
|
||||
"ncmpcpp" = { source = <config/ncmpcpp>; recursive = true; };
|
||||
"zsh/rc.d/aliases.ncmpcpp.zsh".source = <config/ncmpcpp/aliases.zsh>;
|
||||
"zsh/rc.d/env.ncmpcpp.zsh".source = <config/ncmpcpp/env.zsh>;
|
||||
"ncmpcpp/config".source = <config/ncmpcpp/config>;
|
||||
"ncmpcpp/bindings".source = <config/ncmpcpp/bindings>;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue