Commit Graph

13 Commits

Author SHA1 Message Date
fed6b2db3a Make de-duplication optional via ZSH_PECO_HISTORY_DEDUP env var 2018-12-04 02:10:43 +00:00
92cb0d5673 Merge remote-tracking branch 'hamasho/master' 2018-12-04 01:14:44 +00:00
1b3a854945 Bump version to 0.8.0 0.8.0 2018-12-04 01:00:46 +00:00
45c80d21aa Update code comment in zsh-peco-history.zsh 2018-12-04 01:00:14 +00:00
863e79b1fd Update and restructure readme 2018-12-04 00:58:53 +00:00
3c156cde08 Merge pull request #3 from ojongerius/fix_finding_gtac
Fixes finding of gtac
2018-04-14 08:30:21 +00:00
Shinsuke Hamasho
d4edf90492 Remove duplicated commands in history
Previously, duplicated commands appeared in peco's history list.
If you had command history like

ls
ls -l
vim
ls
ls

then all commands were listed.
This commit suppresses all duplicated commands, so the history is listed
like this;

ls
ls -l
vim

If `perl` nor `awk` was not available, use `uniq` instead.
In that case, only consecutive commands are removed from the list;

ls
ls -l
vim
ls
2018-02-17 23:46:33 +09:00
Shinsuke Hamasho
693870c528 Fix bug in command verification 2018-02-17 23:39:41 +09:00
Otto Jongerius
1d194af5c9 Fixes finding of gtac -generally tac installed from GNU coreutils on OSX. 2018-01-26 13:54:42 +13:00
20214ef46b Merge pull request #1 from Roang-zero1/Roang-zero1-patch-1
Change command verification
2016-04-20 09:11:27 +01:00
Lucas
bcd50ef67f Change command verification
Changed command verification because 'which' does sometimes produce an empty tac variable.
2016-04-19 19:44:23 +02:00
cbff1feafd Tweak readme 2016-04-03 15:02:27 +01:00
9fd4afa2ab Initial commit 2016-04-03 14:56:13 +01:00