|
|
|
|
@ -279,19 +279,23 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
#+end_src |
|
|
|
|
*** paper-books helpers :daily: |
|
|
|
|
#+begin_src sh |
|
|
|
|
function o-books () |
|
|
|
|
function o--generic () |
|
|
|
|
{ |
|
|
|
|
(cd ~/work/books; okular "$(find | sed -e "s+^./++" | fzf)") |
|
|
|
|
(cd $1; eca "$(find | sed -e "s+^./++" | fzf)") |
|
|
|
|
} |
|
|
|
|
#+end_src |
|
|
|
|
Should we rather use aliases? yes please |
|
|
|
|
#+begin_src sh |
|
|
|
|
function o-books () { |
|
|
|
|
(o--generic ~/work/books) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function o-papers () |
|
|
|
|
{ |
|
|
|
|
(cd ~/work/papers; okular "$(find | sed -e "s+^./++" | fzf)") |
|
|
|
|
function o-papers () { |
|
|
|
|
(o--generic ~/work/papers) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function o-offprints () |
|
|
|
|
{ |
|
|
|
|
(cd ~/work/offprints; okular "$(find | sed -e "s+^./++" | fzf)") |
|
|
|
|
function o-offprints () { |
|
|
|
|
(o--generic ~/work/offprints) |
|
|
|
|
} |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
@ -659,7 +663,11 @@ technique |
|
|
|
|
bindkey "^g" transpose-chars |
|
|
|
|
bindkey "^[g" transpose-words |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
*** Connection warning :daily: |
|
|
|
|
#+begin_src sh |
|
|
|
|
ip a | grep nordlynx >>/dev/null && echo → Connected to $fg_bold[magenta]NordVPN$reset_color |
|
|
|
|
true |
|
|
|
|
#+end_src |
|
|
|
|
**** TODO Rearrange this bit |
|
|
|
|
:PROPERTIES: |
|
|
|
|
:CREATED: [2021-05-01 Sat 13:35] |
|
|
|
|
|