diff --git a/zshrc.org b/zshrc.org index e84d902..c5f3440 100644 --- a/zshrc.org +++ b/zshrc.org @@ -206,6 +206,18 @@ setup-pi-webcam() #+begin_src sh autoload ifttt #+end_src + - This is an helper for moving a file to some other place and adding + a link back to the original position. ~bl~ stands for backlink + +BIG FAT WARNING: this needs to specify an actual file as a destination + (similar to ln) adding a directory would not work. +#+begin_src sh + lb() + { + mv $1 $2 + ln -s $2 $1 + } +#+end_src *** konsole helpers :daily: #+begin_src sh function set-terminal-title() {