docs(shell, scripts): move dotfiles out of $HOME
All checks were successful
deploy / build (push) Successful in 2m37s
All checks were successful
deploy / build (push) Successful in 2m37s
This commit is contained in:
@@ -2114,3 +2114,26 @@ else
|
||||
curl http://v2.wttr.in/Aubervilliers
|
||||
end
|
||||
#+END_SRC
|
||||
|
||||
** Wrappers
|
||||
:PROPERTIES:
|
||||
:HEADER-ARGS: :shebang "#!/usr/bin/env sh" :mkdirp yes
|
||||
:END:
|
||||
In order to avoid clutter in my =$HOME= directory, I have some wrappers
|
||||
around some commands that simply add some options by default.
|
||||
|
||||
#+begin_src sh :tangle ~/.local/bin/adb
|
||||
HOME="$XDG_DATA_HOME"/android adb
|
||||
#+end_src
|
||||
|
||||
#+begin_src sh :tangle ~/.local/bin/mbsync
|
||||
mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc
|
||||
#+end_src
|
||||
|
||||
#+begin_src sh :tangle ~/.local/bin/wget
|
||||
wget --hsts-file="$XDG_DATA_HOME"/wget-hsts
|
||||
#+end_src
|
||||
|
||||
#+begin_src sh :tangle ~/.local/bin/yarn
|
||||
yarn --use-yarnrc "$XDG_CONFIG_HOME"/yarn/config
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user