mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-21 00:57:24 +08:00
Compare commits
2 Commits
69507c9518
...
2d40b562e5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d40b562e5 | ||
|
|
2b1d412279 |
@ -108,16 +108,16 @@ function dirhistory_forward() {
|
|||||||
# Bind keys to history navigation
|
# Bind keys to history navigation
|
||||||
function dirhistory_zle_dirhistory_back() {
|
function dirhistory_zle_dirhistory_back() {
|
||||||
# Erase current line in buffer
|
# Erase current line in buffer
|
||||||
zle kill-buffer
|
zle .kill-buffer
|
||||||
dirhistory_back
|
dirhistory_back
|
||||||
zle accept-line
|
zle .accept-line
|
||||||
}
|
}
|
||||||
|
|
||||||
function dirhistory_zle_dirhistory_future() {
|
function dirhistory_zle_dirhistory_future() {
|
||||||
# Erase current line in buffer
|
# Erase current line in buffer
|
||||||
zle kill-buffer
|
zle .kill-buffer
|
||||||
dirhistory_forward
|
dirhistory_forward
|
||||||
zle accept-line
|
zle .accept-line
|
||||||
}
|
}
|
||||||
|
|
||||||
zle -N dirhistory_zle_dirhistory_back
|
zle -N dirhistory_zle_dirhistory_back
|
||||||
@ -160,15 +160,15 @@ function dirhistory_down() {
|
|||||||
|
|
||||||
# Bind keys to hierarchy navigation
|
# Bind keys to hierarchy navigation
|
||||||
function dirhistory_zle_dirhistory_up() {
|
function dirhistory_zle_dirhistory_up() {
|
||||||
zle kill-buffer # Erase current line in buffer
|
zle .kill-buffer # Erase current line in buffer
|
||||||
dirhistory_up
|
dirhistory_up
|
||||||
zle accept-line
|
zle .accept-line
|
||||||
}
|
}
|
||||||
|
|
||||||
function dirhistory_zle_dirhistory_down() {
|
function dirhistory_zle_dirhistory_down() {
|
||||||
zle kill-buffer # Erase current line in buffer
|
zle .kill-buffer # Erase current line in buffer
|
||||||
dirhistory_down
|
dirhistory_down
|
||||||
zle accept-line
|
zle .accept-line
|
||||||
}
|
}
|
||||||
|
|
||||||
zle -N dirhistory_zle_dirhistory_up
|
zle -N dirhistory_zle_dirhistory_up
|
||||||
|
|||||||
@ -263,7 +263,7 @@ alias gstd='git stash drop'
|
|||||||
alias gstl='git stash list'
|
alias gstl='git stash list'
|
||||||
alias gstp='git stash pop'
|
alias gstp='git stash pop'
|
||||||
alias gsts='git stash show --text'
|
alias gsts='git stash show --text'
|
||||||
alias gstu='git stash --include-untracked'
|
alias gstu='gsta --include-untracked'
|
||||||
alias gstall='git stash --all'
|
alias gstall='git stash --all'
|
||||||
alias gsu='git submodule update'
|
alias gsu='git submodule update'
|
||||||
alias gsw='git switch'
|
alias gsw='git switch'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user