auto expand !! on zsh
This commit is contained in:
parent
b03602e2a2
commit
daf79cc788
1 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,10 @@
|
|||
unsetopt beep
|
||||
${lib.getExe pkgs.nix-your-shell} zsh | source /dev/stdin
|
||||
|
||||
# Expand !! and !$ on space (Fish-style)
|
||||
bindkey ' ' magic-space
|
||||
setopt HIST_VERIFY
|
||||
|
||||
# Fish-style Ctrl+Backspace: delete one path segment at a time
|
||||
function backward-kill-path-component() {
|
||||
if [[ "$LBUFFER" == */ ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue