|
|
|
|
@ -293,7 +293,11 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
#+begin_src sh |
|
|
|
|
function o--generic () |
|
|
|
|
{ |
|
|
|
|
(cd $1; eca "$(find | sed -e "s+^./++" | fzf)") |
|
|
|
|
(cd $1; eca "$(find | sed -e "s+^./++" | fzf)") |
|
|
|
|
} |
|
|
|
|
function o--generic-pdf () |
|
|
|
|
{ |
|
|
|
|
(cd $1; eca "$(find -iname "*pdf" | sed -e "s+^./++" | fzf)") |
|
|
|
|
} |
|
|
|
|
#+end_src |
|
|
|
|
Should we rather use aliases? yes please |
|
|
|
|
@ -309,6 +313,10 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
function o-offprints () { |
|
|
|
|
(o--generic ~/work/offprints) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function o-cmp () { |
|
|
|
|
(o--generic-pdf ~/work/editor/cmp/submissions) |
|
|
|
|
} |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
*** shell helpers :daily:pi:android: |
|
|
|
|
|