~torresjrjr/.sh

shell dotfiles and management scripts
lf*: Make printf and sed portable on Alpine
export PASSWORD_STORE_GENERATED_LENGTH=64
export GOPROXY='direct'

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~torresjrjr/.sh
read/write
git@git.sr.ht:~torresjrjr/.sh

You can also use your local clone with git send-email.

#dotshell

Syncs the dotfiles of multiple shells from one repository to $HOME. Provides multi-machine and user-local configuration.

#Install

$ cd $HOME
$ git clone https://git.sr.ht/~torresjrjr/.sh

#Usage

dotshell provides the dotshell command, which syncs shell dotfiles stored in $DOTSHELL to $HOME with symbolic links.

The $DOTSHELL variable is set to $HOME/.sh by default. The dotshell command is located at $DOTSHELL/bin/dotshell. Run dotshell {shell}... to sync the dotfiles of {shell}....

$ dotshell sh    # syncs `~/.profile`
$ dotshell bash  # syncs `~/.profile` & `~/.bashrc`
$ dotshell zsh   # syncs `~/.zshenv`

Shell dotfiles in the home directory can be removed safetly. For all shell profiles to take effect, logout and login again. For all shell rc-files to take effect, source the files.

Local-specific configuration can be achieved by writing dotfiles in $DOTSHELL/local/ with their respective filenames.

#Contribute

Send patches and questions to ~torresjrjr/public-inbox@lists.sr.ht (see git-send-email.io).