Merge pull request #969 from adawalli/master

plugins: percol: Unalias zz before defining zz function
pull/970/head
Nils Winkler 2017-05-26 09:04:21 +02:00 committed by GitHub
commit d70f3db3cf
1 changed files with 1 additions and 0 deletions

View File

@ -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)