]> Sergey Matveev's repositories - path-extractor.git/blobdiff - README.md
Convert option to string
[path-extractor.git] / README.md
index 4cdfd759ccf68d79f88949c4c0e8f6b91395e244..a195c65d75cd3703fc3ffe423f610553059d1459 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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,13 +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 test
-go build
-go install
+go get github.com/edi9999/path-extractor/path-extractor
 ```
+
+You will have the `path-extractor` in your `$GOPATH/bin` directory which you can rename or alias to `pe`
+
+# Binaries
+
+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