Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
2d40b562
Unverified
Commit
2d40b562
authored
Mar 31, 2021
by
Stéphane Caron
Committed by
GitHub
Mar 31, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(dirhistory): make sure to call built-in zle widgets (#9771)
Without this patch, if the called zle widgets have been redefined this plugin might come into conflict. Related: #9770.
parent
2b1d4122
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
dirhistory.plugin.zsh
plugins/dirhistory/dirhistory.plugin.zsh
+9
-9
No files found.
plugins/dirhistory/dirhistory.plugin.zsh
View file @
2d40b562
...
@@ -108,16 +108,16 @@ function dirhistory_forward() {
...
@@ -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() {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment