An open API service indexing awesome lists of open source software.

https://github.com/zwpaper/dotfile


https://github.com/zwpaper/dotfile

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

* zwPapEr Dot File

** init system

This is the index of this document,
execute the init src block will init the system.

#+begin_src sh :var software=install-software
echo Done
#+end_src

** Software

Define needed software

#+NAME: mac-software
- ispell
- font-hack-nerd-font

#+NAME: common-software
- lsd
- bat

Install software depend on systems

#+NAME: install-software
#+BEGIN_src sh :var cs=common-software mac=mac-software
function install_software() {
case `uname` in
Darwin)
brew install $cs
brew cask install $mac
;;
Linux)
case `cat /etc/issue | grep -v "^$" | awk '{print $1}'` in
Arch)
sudo pacman -S $cs
;;
esac
;;
esac
}

install_software
#+END_src