From f26bbc3b4fe9ee64e1254a1d7014804726b81d48 Mon Sep 17 00:00:00 2001 From: cy Date: Mon, 27 Jan 2025 20:23:15 -0500 Subject: [PATCH] make justfile better and cleanup zsh Signed-off-by: cy --- home/zsh/default.nix | 5 ----- justfile | 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 363efd6..eb920d5 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -39,11 +39,6 @@ initExtra = '' # disable control+s to pause terminal unsetopt FLOW_CONTROL - # manually integrate fzf cause we need to make sure zsh-vi-mode - # won't override C-r - function zvm_after_init() { - eval "$(${pkgs.fzf}/bin/fzf --zsh)" - } # useful emacs mode bindings bindkey -M viins "^E" end-of-line diff --git a/justfile b/justfile index 95b1fda..6414c0a 100644 --- a/justfile +++ b/justfile @@ -1,9 +1,10 @@ update: + git branch -D update git switch -c update nix flake update git add flake.lock git commit -s -m "flake update" - git push + git push -f git switch main upgrade: