Skip to content
/ dot Public

Configuration files and setup instructions for Linux & macOS meta distribution

License

Notifications You must be signed in to change notification settings

oniani/dot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 are preferred. The setup is compliant with the XDG Base Directory Specification.

The setup is intended for (Arch) Linux and macOS.

Setup

Important

Copy over the contents and create directories:

\cp -R .config .local "$HOME"
\mkdir -p "$HOME/git" "$HOME/workspace" "${XDG_CACHE_HOME:-$HOME/.cache}/zsh"

Install packages on Arch Linux

# Arch Official Repositories
sudo pacman -S --noconfirm - < pkg_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 - < pkg_arch_aur.txt

Install packages on macOS

xargs brew install < pkg_macos.txt

Tip

Change shell to Zsh

chsh -s /usr/bin/zsh

Tip

It is possible to set a default location for .zshenv.

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:

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.

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

About

Configuration files and setup instructions for Linux & macOS meta distribution

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published