Personal dotfiles and configuration management for shell, vim, mutt, and other tools — deployable to any Unix-like system (Linux, macOS, BSD, Cygwin) and syncable to remote hosts over SSH.
cd ~/
git clone https://github.com/kiskeyix/applications.git Applications
./Applications/scripts/update-host --localupdate-host symlinks the configs into your home directory, e.g.:
~/.bashrc -> Applications/share/shell/bashrc
~/.bash_profile -> Applications/share/shell/bash_profile
~/.dir_colors -> Applications/share/shell/dir_colors
~/.inputrc -> Applications/share/shell/inputrc
Any pre-existing files are preserved with a .bak extension.
Check whether a machine still matches what --local would produce, without
changing anything:
update-host --verifyRemove the corresponding symlink:
cd ~/
rm .vim # don't use ~/Applications/share/vim
rm .mutt # don't use ~/Applications/share/muttMake host-specific changes in a separate file rather than editing the shared configs directly:
touch ~/.bashrc-`hostname`
touch ~/.vimrc-`hostname`
touch ~/.muttrc-`hostname`
touch ~/.profile-`hostname`
touch ~/.alias.setup
# a special .path.setup :
cat > ~/.path.setup <<'EOF'
# _path_add [-a] DIR — add DIR once, only if it exists. Default prepends; -a
# appends so it can never shadow a system command.
_path_add() {
local append=0
[[ $1 == -a ]] && { append=1; shift; }
[[ -d $1 ]] || return 0
case ":$PATH:" in *":$1:"*) return 0 ;; esac
if (( append )); then PATH="$PATH:$1"; else PATH="$1:$PATH"; fi
}
_path_add "/opt/homebrew/bin"
_path_add "/opt/homebrew/sbin"
_path_add "$HOME/Applications/scripts"
_path_add -a "/usr/local/bin"
EOF
These are sourced automatically by the corresponding main config file.
Claude Code sessions also source ~/.path.setup before each Bash command
(via share/agents-config/hooks/session-start.sh), since their shell
otherwise keeps only the claude process's PATH.
update-host --send-key server1 server2 # one-time: push your SSH pubkey to each host
update-host # updates every host in ~/.remote-hosts
update-host server1 server2 ... serverN # or update just these hosts--send-key copies your public key to each remote host's
~/.ssh/authorized_keys. update-host (no --local) builds a tarball of
this repo, ships it to each host over SSH/SCP in parallel (with a live
per-host progress bar), unpacks it under ~/Applications, and relinks
configs there too.
bundle exec rake test- Fork the repository on GitHub
- Create a feature branch
- Make your changes
- Open a Pull Request
Created: 2007-06-07