Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
config:customcmds:paste-selection-ix-io [2013/12/13 02:41] – fixed formatting of bash snippet to avoid wiki substitutions from kicking in lambconfig:customcmds:paste-selection-ix-io [2022/12/30 03:18] (current) – Copy edited (e.g. ref. <https://en.wikipedia.org/wiki/Uniform_resource_locator>). petermortensen
Line 1: Line 1:
 ====== Paste Selection in http://ix.io ====== ====== Paste Selection in http://ix.io ======
  
-This script use curl and xsel to makes Geany paste your editor selection in [[http://ix.io|http://ix.io]] and +This script uses curl and xsel to make Geany paste your editor selection in [[http://ix.io|http://ix.io]] and 
-return the url in your clipboard.+return the URL in your clipboard.
  
-Download the script below - you will need to ''chmod u+x geany-ix-io.sh'' for make the script executable.+Download the script below. You will need to ''chmod u+x geany-ix-io.sh'' to make the script executable.
  
 Add the custom command to Geany: Edit -> Format -> Send Selection To -> Set Custom Commands -> Add Add the custom command to Geany: Edit -> Format -> Send Selection To -> Set Custom Commands -> Add
Line 12: Line 12:
 <code>sh -c "curl -s -F 'f:1=<-' ix.io | xsel -ib; exit 1"</code> <code>sh -c "curl -s -F 'f:1=<-' ix.io | xsel -ib; exit 1"</code>
  
-Both, script or one liner command will work very well.+Both, script or one liner commandwill work very well.
  
 <file bash geany-ix-io.sh> <file bash geany-ix-io.sh>
Print/export