make justfile better and cleanup zsh

Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
cy 2025-01-27 20:23:15 -05:00
parent da557a7b7e
commit f26bbc3b4f
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
2 changed files with 2 additions and 6 deletions

View file

@ -39,11 +39,6 @@
initExtra = '' initExtra = ''
# disable control+s to pause terminal # disable control+s to pause terminal
unsetopt FLOW_CONTROL 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 # useful emacs mode bindings
bindkey -M viins "^E" end-of-line bindkey -M viins "^E" end-of-line

View file

@ -1,9 +1,10 @@
update: update:
git branch -D update
git switch -c update git switch -c update
nix flake update nix flake update
git add flake.lock git add flake.lock
git commit -s -m "flake update" git commit -s -m "flake update"
git push git push -f
git switch main git switch main
upgrade: upgrade: