feat: add zsh-nix-shell plugin
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
99ba3631f3
commit
a7073f5dbc
1 changed files with 14 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
zsh = {
|
||||
|
|
@ -17,6 +18,19 @@
|
|||
path = "$HOME/.cache/zsh_history";
|
||||
};
|
||||
|
||||
plugins = [
|
||||
{
|
||||
name = "zsh-nix-shell";
|
||||
file = "nix-shell.plugin.zsh";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "chisui";
|
||||
repo = "zsh-nix-shell";
|
||||
rev = "v0.8.0";
|
||||
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
initExtra = ''
|
||||
bindkey '^[[1;5C' forward-word # Ctrl+RightArrow
|
||||
bindkey '^[[1;5D' backward-word # Ctrl+LeftArrow
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue