plugins: percol: Unalias zz before defining zz function
Percol defines zz alias by default. This ensures that the percol plugin will work as expected.pull/969/head
parent
f9c4f9e63a
commit
659ecd0388
|
|
@ -35,6 +35,7 @@ if command -v percol>/dev/null; then
|
||||||
bind -x '"\C-r": _replace_by_history'
|
bind -x '"\C-r": _replace_by_history'
|
||||||
|
|
||||||
# bind zz to percol if fasd enable
|
# bind zz to percol if fasd enable
|
||||||
|
unalias zz
|
||||||
if command -v fasd>/dev/null; then
|
if command -v fasd>/dev/null; then
|
||||||
function zz() {
|
function zz() {
|
||||||
local l=$(fasd -d | awk '{print $2}' | percol)
|
local l=$(fasd -d | awk '{print $2}' | percol)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue