]> Sergey Matveev's repositories - path-extractor.git/blobdiff - README.md
Correct surrounded by parens
[path-extractor.git] / README.md
index 67fb3d1f0c49673be83c5117def80f386e1aa9d9..a195c65d75cd3703fc3ffe423f610553059d1459 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # PathExtractor (pe)
 
-![demo](raw.github.com/edi9999/i/master/demo.gif)
+![demo](https://raw.github.com/edi9999/i/master/demo.gif)
 
 PathExtractor is a command line tool that extracts a list of files/paths from stdin.
 
@@ -29,7 +29,7 @@ For example, using `zsh` , I have as an alias:
 
 With `bash`:
 
-    bind '"PP": "| pe | fzf | read filename; [ ! -z $filename ] && vim $filename"'
+    bind '"PP": "| pe | uniq | fzf | while read filename; do [ ! -z $filename ] && </dev/tty vim $filename; done\n'
 
 So that If I run
 
@@ -50,16 +50,16 @@ With zsh:
 
 With bash:
 
-    bind '"CC": "| pe | fzf | read filename; [ ! -z $filename ] && echo -n $filename | xclip -selection c"'
+    bind '"CC": "| pe | fzf | read filename; [ ! -z $filename ] && echo -n $filename | xclip -selection c\n"'
 
 # Installation
 
 ```
-git clone # in your go path
+go get github.com/edi9999/path-extractor/path-extractor
+```
 
-go test
+You will have the `path-extractor` in your `$GOPATH/bin` directory which you can rename or alias to `pe`
 
-go build
+# Binaries
 
-go install
-```
+They are no binaries for now (you have to build it yourself), but one idea would be to use [goxc](https://github.com/laher/goxc) to compile it on multiple platforms