Sun Jun 23 10:22:07 PM CEST 2024

This commit is contained in:
Thomas Avé 2024-06-23 22:22:07 +02:00
parent f3848d7844
commit f30ff52f92
1 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@
PYTHONDONTWRITEBYTECODE = "1"; PYTHONDONTWRITEBYTECODE = "1";
GOPATH = "${config.xdg.dataHome}/go"; GOPATH = "${config.xdg.dataHome}/go";
DIRENV_LOG_FORMAT = ""; DIRENV_LOG_FORMAT = "";
OPENER = "${pkgs.handlr-regex}/bin/handlr open";
}; };
programs.direnv = { programs.direnv = {
enable = true; enable = true;
@ -72,14 +73,15 @@
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
source ${./files/p10k.zsh} source ${./files/p10k.zsh}
source ${pkgs.zsh-vi-mode}/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh source ${pkgs.zsh-vi-mode}/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
source ${./files/keys.zsh}
function zvm_after_init() { function zvm_after_init() {
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
source ${./files/term.zsh} source ${./files/term.zsh}
source ${./files/completion.zsh} source ${./files/completion.zsh}
if [ -n "\$\{commands[fzf-share]\}" ]; then if [ -n "\$\{commands[fzf-share]\}" ]; then
source "$(fzf-share)/key-bindings.zsh" source "$(fzf-share)/key-bindings.zsh"
source "$(fzf-share)/completion.zsh" source "$(fzf-share)/completion.zsh"
fi fi
source ${./files/keys.zsh}
} }
function run() { function run() {
nix run "nixpkgs#$1" -- "''${@:2}" nix run "nixpkgs#$1" -- "''${@:2}"