Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oniani/dot
Configuration files and setup instructions for Linux & macOS meta distribution
https://github.com/oniani/dot
automation dotfiles kitty mpv neovim nnn unix zsh
Last synced: about 6 hours ago
JSON representation
Configuration files and setup instructions for Linux & macOS meta distribution
- Host: GitHub
- URL: https://github.com/oniani/dot
- Owner: oniani
- License: mit
- Created: 2019-04-10T22:14:23.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-19T04:44:50.000Z (27 days ago)
- Last Synced: 2024-10-19T07:15:44.899Z (27 days ago)
- Topics: automation, dotfiles, kitty, mpv, neovim, nnn, unix, zsh
- Language: Shell
- Homepage:
- Size: 19.6 MB
- Stars: 9
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `dot`
Configuration files and setup instructions for Linux & macOS meta distribution.
All programs are chosen with simplicity in mind. Cross-platform programs that follow the
[UNIX philosophy][unix] are preferred. The setup is compliant with the
[XDG Base Directory Specification][xdg].The setup is intended for (Arch) Linux and macOS.
## Setup
> [!IMPORTANT]
> Copy over the contents and create directories:
>
> ```console
> \cp -R .config .local "$HOME"
> \mkdir -p "$HOME/git" "$HOME/workspace" "${XDG_CACHE_HOME:-$HOME/.cache}/zsh"
> ```
>
> Install packages on Arch Linux
>
> ```console
> # Arch Official Repositories
> sudo pacman -S --noconfirm - < linux/arch/arch.txt
>
> # Arch User Repository (AUR)
> rustup toolchain install stable
> sudo pacman -S --needed base-devel
> git clone https://aur.archlinux.org/paru.git && cd paru && makepkg -si && cd .. && rm -rf paru
> paru -S --noconfirm - < linux/arch/aur.txt
> ```
>
> Install packages on macOS
>
> ```console
> xargs brew install < brew.txt
> ```> [!TIP]
> Change shell to Zsh
>
> ```console
> chsh -s /usr/bin/zsh
> ```> [!TIP]
> It is possible to set a default location for `.zshenv`.
>
> ```console
> sudo touch /etc/zsh/zshenv
> printf "export ZDOTDIR=%s/.config/zsh\n" "$HOME" | sudo tee /etc/zsh/zshenv
> ```> [!TIP]
> It is also possible to bypass a password prompt when using `sudo`:
>
> ```console
> sudo touch "/etc/sudoers.d/$USER"
> printf "%s ALL=(ALL:ALL) NOPASSWD: ALL\n" "$USER" | sudo tee "/etc/sudoers.d/$USER"
> ```> [!TIP]
> The following will stop generating `.sudo_as_admin_successful`.
>
> ```console
> sudo touch /etc/sudoers.d/disable_admin_file_in_home
> printf "Defaults !admin_flag\n" | sudo tee /etc/sudoers.d/disable_admin_file_in_home
> ```## License
[MIT License][license]
[unix]: https://en.wikipedia.org/wiki/Unix_philosophy
[xdg]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
[firefox]: https://www.mozilla.org/en-US/firefox/new/
[neovim]: https://github.com/neovim/neovim
[nnn]: https://github.com/jarun/nnn
[jetbrainsmono]: https://github.com/JetBrains/JetBrainsMono
[nerdfontspatcher]: https://github.com/ryanoasis/nerd-fonts#font-patcher
[ligaturizer]: https://github.com/ToxicFrog/Ligaturizer
[nsxiv]: https://github.com/nsxiv/nsxiv
[mpv]: https://github.com/mpv-player/mpv
[zathura]: https://en.wikipedia.org/wiki/Zathura_(document_viewer)
[zsh]: https://github.com/zsh-users/zsh
[kitty]: https://github.com/kovidgoyal/kitty
[hyprland]: https://github.com/hyprwm/Hyprland
[inkscape]: https://gitlab.com/inkscape/inkscape
[drawio]: https://github.com/jgraph/drawio-desktop
[jupyterlab]: https://jupyter.org
[font]: https://github.com/oniani/dot/tree/main/.local/share/fonts/ttf
[license]: LICENSE