make justfile better and cleanup zsh
Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
parent
da557a7b7e
commit
443ea96d1f
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
3
justfile
3
justfile
|
@ -1,9 +1,10 @@
|
|||
update:
|
||||
git branch -D update || true
|
||||
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:
|
||||
|
|
Loading…
Add table
Reference in a new issue