|
|
|
|
@ -258,6 +258,26 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
set-konsole-title ${previous_title} |
|
|
|
|
} |
|
|
|
|
#+end_src |
|
|
|
|
*** color helpers :daily: |
|
|
|
|
#+begin_src sh |
|
|
|
|
function lunarized-pick() |
|
|
|
|
{ |
|
|
|
|
(cd ~/scripts/.lunarized; cat $(find | grep -v "^.$" | sed -e "s+^./++" | fzf)) |
|
|
|
|
} |
|
|
|
|
#+end_src |
|
|
|
|
*** paper-books helpers :daily: |
|
|
|
|
#+begin_src sh |
|
|
|
|
function o-books () |
|
|
|
|
{ |
|
|
|
|
(cd ~/work/books; okular "$(find | sed -e "s+^./++" | fzf)") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function o-papers () |
|
|
|
|
{ |
|
|
|
|
(cd ~/work/papers; okular "$(find | sed -e "s+^./++" | fzf)") |
|
|
|
|
} |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
*** shell helpers :daily:pi:android: |
|
|
|
|
This function is a poor-man eselect for configuration files it mv's |
|
|
|
|
filename to filename_ or viceversa |
|
|
|
|
@ -326,6 +346,11 @@ This function is a poor-man eselect for configuration files it mv's |
|
|
|
|
} |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
*** media helpers :daily: |
|
|
|
|
**** Fuzzy search unreal mods and play for 25 minutes :daily: |
|
|
|
|
#+begin_src sh |
|
|
|
|
alias xmp-unreal='(cd ~/tmp/unreal-mods; xmp "$(find . | fzf)" -U 1500)' |
|
|
|
|
#+end_src |
|
|
|
|
*** oh-my-zsh setup :daily:pi:android: |
|
|
|
|
#+begin_src sh |
|
|
|
|
# Path to your oh-my-zsh configuration. |
|
|
|
|
|