Merge pull request #969 from adawalli/master
plugins: percol: Unalias zz before defining zz functionpull/970/head
commit
d70f3db3cf
|
|
@ -35,6 +35,7 @@ if command -v percol>/dev/null; then
|
|||
bind -x '"\C-r": _replace_by_history'
|
||||
|
||||
# bind zz to percol if fasd enable
|
||||
unalias zz
|
||||
if command -v fasd>/dev/null; then
|
||||
function zz() {
|
||||
local l=$(fasd -d | awk '{print $2}' | percol)
|
||||
|
|
|
|||
Loading…
Reference in New Issue