feat: add asdf
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
5091ea94df
commit
99ba3631f3
2 changed files with 17 additions and 0 deletions
16
home/lander/features/cli/asdf.nix
Normal file
16
home/lander/features/cli/asdf.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
asdf-vm
|
||||
];
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
initExtra = ''
|
||||
. "${pkgs.asdf-vm}/share/asdf-vm/asdf.sh"
|
||||
autoload -Uz bashcompinit && bashcompinit
|
||||
. "${pkgs.asdf-vm}/share/asdf-vm/completions/asdf.bash"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
imports = [
|
||||
./git
|
||||
|
||||
./asdf.nix
|
||||
./bat.nix
|
||||
./btop.nix
|
||||
./starship.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue