setup-env #1
32
home-manager/zsh/antidote.nix
Normal file
32
home-manager/zsh/antidote.nix
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.zsh.antidote = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
plugins = [
|
||||||
|
# popular fish-like plugins
|
||||||
|
"mattmc3/zfunctions"
|
||||||
|
"zsh-users/zsh-autosuggestions"
|
||||||
|
"zdharma-continuum/fast-syntax-highlighting kind:defer"
|
||||||
|
"zsh-users/zsh-history-substring-search"
|
||||||
|
|
||||||
|
# set up Zsh completions with plugins
|
||||||
|
"mattmc3/ez-compinit"
|
||||||
|
"zsh-users/zsh-completions kind:fpath path:src"
|
||||||
|
|
||||||
|
# frameworks like oh-my-zsh are supported
|
||||||
|
"getantidote/use-omz" # handle OMZ dependencies
|
||||||
|
"ohmyzsh/ohmyzsh path:lib" # load OMZ's library
|
||||||
|
|
||||||
|
# List of plugins
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/extract"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/git"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/git-auto-fetch"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/gitignore"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/jsontools"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/sudo"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/tmux"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
@@ -1,5 +1,8 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./zsh.nix ];
|
imports = [
|
||||||
|
./antidote.nix
|
||||||
|
./zsh.nix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
@@ -3,5 +3,7 @@
|
|||||||
{
|
{
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
autosuggestion.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
Reference in New Issue
Block a user