make justfile better and cleanup zsh
Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
parent
da557a7b7e
commit
f26bbc3b4f
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||||
|
|
3
justfile
3
justfile
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue