Add helpers for CMP editorial stuff

master
Jacopo De Simoi 7 months ago
parent 019855ad48
commit 51bba6d423
  1. 8
      zshrc.org

@ -295,6 +295,10 @@ BIG FAT WARNING: this needs to specify an actual file as a destination
{ {
(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 #+end_src
Should we rather use aliases? yes please Should we rather use aliases? yes please
#+begin_src sh #+begin_src sh
@ -309,6 +313,10 @@ BIG FAT WARNING: this needs to specify an actual file as a destination
function o-offprints () { function o-offprints () {
(o--generic ~/work/offprints) (o--generic ~/work/offprints)
} }
function o-cmp () {
(o--generic-pdf ~/work/editor/cmp/submissions)
}
#+end_src #+end_src
*** shell helpers :daily:pi:android: *** shell helpers :daily:pi:android:

Loading…
Cancel
Save