sshrc
yadm
sshrc | yadm | |
---|---|---|
3 | 82 | |
195 | 4,820 | |
- | - | |
10.0 | 2.4 | |
over 1 year ago | 3 months ago | |
Shell | Python | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sshrc
-
Do yourself a favor: invest time in configuring your shell, tmux, vim, .ssh/config etc...
This sounds a lot like what https://github.com/cdown/sshrc is for
-
Hosting your bash scripts to be accessible from anywhere
I use my private fork of this script, that removes a bunch of unnecessary stuff, copies ohmyzsh plugins, sets the proper ZDOTDIR and starts zsh: https://github.com/cdown/sshrc (About 80 of those 100 lines are different for me)
-
Managing dot files (linux) - home dir with .gitignore whitelist, good or bad?
ssh() { case "${1}" in (-h|--help) command ssh -h 2>&1 | grep -v "^unknown" printf -- '%s\n' "Overlay options:" printf -- '\t %s\n' "dotfiles: syncs dotfiles to a remote host" \ "nokeys: Forces password based authentication" \ "raw: Runs ssh in its default, noisy state" return 0 ;; (dotfiles) # Inspired by # https://github.com/cdown/sshrc/blob/master/sshrc # https://github.com/fsquillace/kyrat # https://github.com/BarbUk/dotfiles/blob/master/bin/ssh_connect remote_host="${2:?Remote Host not defined}" for dotfile in .bashrc .exrc .inputrc .pwords.dict .vimrc; do if ! [[ -r ~/"${dotfile}" ]]; then printf -- '%s\n' "Local copy of ${dotfile} missing" >&2 continue fi local_sum=$(cksum ~/"${dotfile}" | awk '{print $1}') remote_sum=$(command ssh -q "${remote_host}" cksum "${dotfile}" 2>/dev/null | awk '{print $1}') if [[ "${local_sum}" = "${remote_sum}" ]]; then printf -- '%s\n' "${remote_host}:~/${dotfile} matches the local version" else printf -- '%s\n' "${remote_host}:~/${dotfile} appears outdated, updating..." scp ~/"${dotfile}" "${remote_host}:" || return 1 fi done ;; (nokeys) command ssh \ -o PubkeyAuthentication=no \ -o StrictHostKeyChecking=no \ -q \ "${@:2}" ;; (raw) command ssh "${@:2}" ;; (*) command ssh -o StrictHostKeyChecking=no -q "${@}" ;; esac }
yadm
-
Dotfiles: Unofficial Guide to Dotfiles on GitHub
I'm using yadm for some years now, which works really well:
https://github.com/TheLocehiliosan/yadm
- Yadm: Yet Another Dotfiles Manager
- YADM: Yet Another Dotfiles Manager
-
Ask HN: What Underrated Open Source Project Deserves More Recognition?
Everyone hand-rolls their own dotfile management system, but YADM already does everything you need:
https://yadm.io/
- Yet Another Dotfiles Manager
- Tell HN: My Favorite Tools
-
Dotfiles Matter
I've been working around this using tools built on top of git like [yadm](https://github.com/TheLocehiliosan/yadm) and relying on `ls-files` to list all my tracked dotfiles and their paths.
Still having everything in one place would make things much simpler. Great idea!
-
System settings that aren’t in System Settings
I wonder if the program i use to manage my dotfiles could help manage your scripts and extend your setup to all your desktops? Its called yadm (https://yadm.io/) it makes it so easy to have a laptop and a desktop or two.
-
The right way to keep config files synced across devices?
I really like that one but still prefer yadm because you can just edit your files as usual and then yadm add them wherever you are.
-
Just got a new M2 Pro after my 2016 became outdated. What are your first steps to setting up a new computer?
If you haven’t already, this is the time to install a tool like yadm and get your computer configuration into version control. Your command-line tools can be managed by yadm directly, your system settings can mostly be managed with a yadm bootstrap script that runs things like defaults write, and the software you install can be managed with a Brewfile that the yadm bootstrap script uses to install software with Homebrew. Don’t manually download Xcode, use xcodes to do it.
What are some alternatives?
kyrat - SSH wrapper script that brings your dotfiles always with you on Linux and OSX
GNU Stow - GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches
config - Common config files they way I like them.
chezmoi - Manage your dotfiles across multiple diverse machines, securely.
tmux - Git version of tmux (updated hourly from sourceforge CVS)
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
xxh - 🚀 Bring your favorite shell wherever you go through the ssh. Xonsh shell, fish, zsh, osquery and so on.
dotbot - A tool that bootstraps your dotfiles ⚡️
dotfiles - Dotfiles
homesick - Your home directory is your castle. Don't leave your dotfiles behind.
dotfiles - My dotfiles, used on archlinux, osx and debian
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.