Skip to content

Latest commit

 

History

History
138 lines (93 loc) · 4.31 KB

README.md

File metadata and controls

138 lines (93 loc) · 4.31 KB

dotfiles

ShellCheck

dotfiles bare repo with environment setup scripts.

Install

Requirements:

  • curl
  • git
/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/biocoderh/dotfiles/master/.scripts/common/dotfiles-install)"

All conflicting files would be moved to .local/state/dotfiles-backup folder.

Fork

To properly fork this repo change GIT_URI value in dotfiles-install file. Also change [user] fields in .gitconfig file.

Shell

Prefered shell is zsh, but for compatibility, environment variables and aliases separated to files:

lf and fzf integrated.

Plugin manager - antidote.lite.
Plugins:

  • env - set PATH environment variable depend on OS. In ~/.profile:
[ -f "$HOME/.scripts/env" ] && . "$HOME/.scripts/env"

Common scripts, loaded by default.

Dotfiles

Tools

  • ssh-copy-keys - copy private and public keys to remote host, also add them to ssh agent.
Usage: ssh-copy-keys KEY REMOTE
Example: ssh-copy-keys .ssh/id_ed25519 [email protected]
Usage: boot-options <operation> [...]
systemd-boot options manager

operations:
    boot-options set <option> [value]
    boot-options del <option>

Arch Linux specific.

Environment

Note: full-setup and base-setup would disable cpu mitigations, for reset to defaults:

boot-options del mitigations

Packages

  • pkgs - package managers wrapper, noninteractive, support: pacman, paru, yay. Used in scripts.
usage:  pkgs <operation> [...]
operations:
    pkgs update
    pkgs upgrade
    pkgs install <package(s)>
Usage: meta-install <package(s)>
Install meta packages.

    all - all packages.
    net - network packages.
    dev - development packages.
    cups - CUPS with foomatic drivers.
    obs - OBS with some plugins.

Repos