Add m365 poor man integration

master
Jacopo De Simoi 4 weeks ago
parent 42df24bb2b
commit ef67df6ead
  1. 9
      zshrc.org

@ -311,6 +311,15 @@ BIG FAT WARNING: this needs to specify an actual file as a destination
set-konsole-title ${previous_title}
}
#+end_src
*** m365 helpers :daily:
This function opens a file in the onedrive shared folder in the
suitable office365 web-app
#+begin_src sh
function m365-open() {
file=$(realpath $1)
xdg-open $(echo $file | sed -e 's+/home/jacopods/onedrive+https://utoronto-my.sharepoint.com/:w:/r/personal/jacopo_desimoi_utoronto_ca/Documents+' -e's+ +%20+g' -e 's+$+?web=1+')
}
#+end_src
*** color helpers :daily:
#+begin_src sh
function lunarized-pick()

Loading…
Cancel
Save