Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
config:customcmds:paste-selection-ix-io [2013/09/02 04:16] – created codebrainzconfig:customcmds:paste-selection-ix-io [2013/12/13 02:41] – fixed formatting of bash snippet to avoid wiki substitutions from kicking in lamb
Line 4: Line 4:
 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'' for 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 10: Line 10:
 Type the name of script (geany-ix-io.sh) or optionally you can write the whole custom command here: Type the name of script (geany-ix-io.sh) or optionally you can write the whole custom command here:
  
-sh -c "curl -s -F 'f:1=<-' ix.io | xsel -ib; exit 1"+<code>sh -c "curl -s -F 'f:1=<-' ix.io | xsel -ib; exit 1"</code>
  
-Both, the script version or one liner command will work very well.+Both, script or one liner command will work very well.
  
 <file bash geany-ix-io.sh> <file bash geany-ix-io.sh>
Print/export