zsh: fix nix completions
This commit is contained in:
parent
77c24a7596
commit
92185de8d8
Binary file not shown.
@ -1,11 +1,6 @@
|
||||
{ config, pkgs, lib, ... }: {
|
||||
home-manager.users.balsoft = {
|
||||
|
||||
programs.command-not-found = {
|
||||
enable = true;
|
||||
dbPath = ../../misc/programs.sqlite;
|
||||
};
|
||||
|
||||
programs.nix-index.enable = true;
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
home-manager.users.balsoft.programs.zsh = {
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
# enableAutosuggestions = true;
|
||||
enableCompletion = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
@ -121,10 +121,6 @@
|
||||
function is() { nix search "self#$1" }
|
||||
function rs() { repl self }
|
||||
|
||||
source ${pkgs.nix-zsh-completions}/share/zsh/plugins/nix/nix-zsh-completions.plugin.zsh
|
||||
fpath=(${pkgs.nix-zsh-completions}/share/zsh/site-functions $fpath)
|
||||
autoload -U compinit && compinit
|
||||
|
||||
PS1="$PS1
|
||||
$ "
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user