Forgot to add fish code generation
This commit is contained in:
parent
c0e89be6fa
commit
e376f3153d
@ -103,6 +103,22 @@ for pkg in $PACKAGES
|
|||||||
yay -S --needed $pkg
|
yay -S --needed $pkg
|
||||||
end
|
end
|
||||||
|
|
||||||
|
mkdir -p $HOME/.config/awesome
|
||||||
|
mkdir -p $HOME/.config/awesome/theme
|
||||||
|
mkdir -p $HOME/.config/emacs/private
|
||||||
|
mkdir -p $HOME/.config/fish
|
||||||
|
mkdir -p $HOME/.config/gtk-2.0
|
||||||
|
mkdir -p $HOME/.config/gtk-3.0
|
||||||
|
mkdir -p $HOME/.config/i3
|
||||||
|
mkdir -p $HOME/.config/nano
|
||||||
|
mkdir -p $HOME/.config/ncmpcpp
|
||||||
|
mkdir -p $HOME/.config/neofetch
|
||||||
|
mkdir -p $HOME/.config/picom
|
||||||
|
mkdir -p $HOME/.config/polybar
|
||||||
|
mkdir -p $HOME/.config/yadm
|
||||||
|
mkdir -p $HOME/.local/bin
|
||||||
|
mkdir -p $HOME/org/capture
|
||||||
|
|
||||||
printf "\n# Tangling org files ##########################################################\n\n"
|
printf "\n# Tangling org files ##########################################################\n\n"
|
||||||
printf '\n\n==== Tangling awesome.org\n\n' && \
|
printf '\n\n==== Tangling awesome.org\n\n' && \
|
||||||
emacs -q --batch --eval '(require \'ob-tangle)' \
|
emacs -q --batch --eval '(require \'ob-tangle)' \
|
||||||
|
@ -357,31 +357,17 @@
|
|||||||
| $HOME/.local/bin |
|
| $HOME/.local/bin |
|
||||||
| $HOME/org/capture |
|
| $HOME/org/capture |
|
||||||
|
|
||||||
#+NAME: gen-dir-tangle
|
#+NAME: gen-dirs-tangle
|
||||||
#+BEGIN_SRC emacs-lisp :exports none :var dirs=dirs-tangled-files :cache yes
|
#+BEGIN_SRC emacs-lisp :exports none :var dirs=dirs-tangled-files :cache yes
|
||||||
(mapconcat (lambda (x) (format "mkdir -p %s" (car x)))
|
(mapconcat (lambda (x) (format "mkdir -p %s" (car x)))
|
||||||
dirs
|
dirs
|
||||||
"\n")
|
"\n")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+RESULTS[776d0e1f47d7a00ba1cf1b777e346ba41a1064a6]: gen-dir-tangle
|
Our code to generate such directories looks like this:
|
||||||
#+begin_example
|
#+BEGIN_SRC fish :noweb yes
|
||||||
mkdir -p $HOME/.config/awesome
|
<<gen-dirs-tangle()>>
|
||||||
mkdir -p $HOME/.config/awesome/theme
|
#+END_SRC
|
||||||
mkdir -p $HOME/.config/emacs/private
|
|
||||||
mkdir -p $HOME/.config/fish
|
|
||||||
mkdir -p $HOME/.config/gtk-2.0
|
|
||||||
mkdir -p $HOME/.config/gtk-3.0
|
|
||||||
mkdir -p $HOME/.config/i3
|
|
||||||
mkdir -p $HOME/.config/nano
|
|
||||||
mkdir -p $HOME/.config/ncmpcpp
|
|
||||||
mkdir -p $HOME/.config/neofetch
|
|
||||||
mkdir -p $HOME/.config/picom
|
|
||||||
mkdir -p $HOME/.config/polybar
|
|
||||||
mkdir -p $HOME/.config/yadm
|
|
||||||
mkdir -p $HOME/.local/bin
|
|
||||||
mkdir -p $HOME/org/capture
|
|
||||||
#+end_example
|
|
||||||
|
|
||||||
The next step is to tangle all the Org files. Here is the list of files that
|
The next step is to tangle all the Org files. Here is the list of files that
|
||||||
are to be tangled:
|
are to be tangled:
|
||||||
|
Loading…
Reference in New Issue
Block a user