docs(scripts): fix wrappers

This commit is contained in:
Lucien Cartier-Tilet 2024-03-21 06:19:55 +01:00
parent 05808c98af
commit 392ec1d137
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1910,8 +1910,6 @@ if [ -n "$URL" ]; then
fi fi
#+END_SRC #+END_SRC
** Wallpaper utilities ** Wallpaper utilities
*** pape-update *** pape-update
:PROPERTIES: :PROPERTIES:
@ -2123,17 +2121,17 @@ In order to avoid clutter in my =$HOME= directory, I have some wrappers
around some commands that simply add some options by default. around some commands that simply add some options by default.
#+begin_src sh :tangle ~/.local/bin/adb #+begin_src sh :tangle ~/.local/bin/adb
HOME="$XDG_DATA_HOME"/android adb HOME="$XDG_DATA_HOME"/android /usr/bin/adb "$@"
#+end_src #+end_src
#+begin_src sh :tangle ~/.local/bin/mbsync #+begin_src sh :tangle ~/.local/bin/mbsync
mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc /usr/bin/mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc "$@"
#+end_src #+end_src
#+begin_src sh :tangle ~/.local/bin/wget #+begin_src sh :tangle ~/.local/bin/wget
wget --hsts-file="$XDG_DATA_HOME"/wget-hsts /usr/bin/wget --hsts-file="$XDG_DATA_HOME"/wget-hsts "$@"
#+end_src #+end_src
#+begin_src sh :tangle ~/.local/bin/yarn #+begin_src sh :tangle ~/.local/bin/yarn
yarn --use-yarnrc "$XDG_CONFIG_HOME"/yarn/config /usr/bin/yarn --use-yarnrc "$XDG_CONFIG_HOME"/yarn/config "$@"
#+end_src #+end_src