diff --git a/README.md b/README.md index c1a6dd1..e0ce74c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ -# .dotfiles +# dotfiles -My dotfiles for macOS, Arch Linux, Raspbian and Android (Termux). +My dotfiles (configurations and settings) for shells, text editors and other terminal programs, plus a collection of scripts. Written for and work on various UNIX-like OSes, primarily for: + +- Arch Linux, +- Linux Mint, +- server Ubuntu, +- macOS with GNU coreutils (i.e. BSDs are not supported), +- Android with Termux. + +And also a legendary project that has survived for thousands of years of development. + +## Disclaimer + +### **This is my personal project! No warranty is provided for running these as a superuser, I am in no way responsible for deletion of `/` with `rm -rf`, and _absolutely no support is provided_ whatsoever unless I explicitly say so personally!** + +**It is also recommended for users of this repository to read the scripts they are running. I didn't write the comments just for myself!** + +**Automatic installers are deliberately not provided.** diff --git a/install.zsh b/install.zsh deleted file mode 100755 index f816480..0000000 --- a/install.zsh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env zsh - -DOTFILES_PATH="${0:a:h}" - -install_dotfile() { - local dest="$1" - local contents="$2" - - if [[ -f "$dest" ]]; then - mv -vi "$dest" "$dest.dmitmel-dotfiles-backup" - fi - - mkdir -pv "${dest:h}" - print -r -- "installing dotfile '$dest'" - print -r -- "$contents" > "$dest" -} - -# ZSH -for file_name in zshrc; do - file_path="$DOTFILES_PATH/zsh/$file_name" - install_dotfile "$HOME/.$file_name" "source ${(q)file_path}" -done - -# Neovim -for file_name in {init,ginit}.vim; do - file_path="$DOTFILES_PATH/nvim/$file_name" - install_dotfile "$HOME/.config/nvim/$file_name" "source ${(q)file_path}" -done - -# Kitty -file_name=kitty.conf -file_path="$DOTFILES_PATH/kitty/$file_name" -install_dotfile "$HOME/.config/kitty/$file_name" "include ${(q)file_path}" - -# tmux -file_name=tmux.conf -file_path="$DOTFILES_PATH/tmux/$file_name" -install_dotfile "$HOME/.$file_name" "source-file ${(q)file_path}" diff --git a/upgrade.zsh b/upgrade.zsh deleted file mode 100755 index 81b28b3..0000000 --- a/upgrade.zsh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env zsh - -DOTFILES_PATH="${0:a:h}" -cd "$DOTFILES_PATH" || exit 1 -ZSH_DOTFILES="$DOTFILES_PATH/zsh" - -source "$ZSH_DOTFILES/functions.zsh" - -git pull --rebase --stat origin master -git submodule update --init --recursive --remote --progress - -ZPLG_SKIP_LOADING=1 -source "$ZSH_DOTFILES/plugins.zsh" -zplg-upgrade