Kenji Morishige 522b004632 fix: Linux/Ubuntu compatibility for shell configs and dotfiles manager
00_env.sh:
  - yaml2json: use python3 (python3 first, python fallback) — Ubuntu 20+ has no 'python'
  - pyenv init: moved out of Darwin-only block; now runs everywhere if pyenv installed
  - xterm ls alias: split by OS — Linux gets 'ls --color=auto', macOS gets 'ls -G'

10_aliases.sh:
  - psg: guard with 'command -v pstree' (not installed by default on Ubuntu)
  - ps-m: Linux-only (--sort flag is GNU ps, not available on macOS)
  - gitresetpw: OS-conditional — osxkeychain on Darwin, store on Linux

dotfiles_manager.sh:
  - Replace both hardcoded 'brew install gnupg' die messages with _require_gpg()
    helper that gives apt-get hint on Linux and brew hint on macOS
2026-02-23 13:33:28 -06:00
2026-02-23 13:23:49 -06:00
2026-02-23 12:48:04 -06:00
2026-02-23 12:48:04 -06:00

dotfiles

Centralized configuration management for kenjim@kenjim-mbp.

Remote

http://172.27.0.35:3000/kenjim/dotfiles

Structure

dotfiles/
├── .bashrc              → ~/.bashrc
├── .bash_profile        → ~/.bash_profile
├── .bash_aliases        → ~/.bash_aliases
├── .gitconfig           → ~/.gitconfig
├── .ssh/
│   ├── config           → ~/.ssh/config
│   └── keys/            (public keys + GPG-encrypted private keys)
├── scripts/
│   ├── dotfiles_manager.sh        → ~/scripts/dotfiles_manager.sh
│   ├── setup_enterprise_ai_bash.sh → ~/scripts/setup_enterprise_ai_bash.sh
│   └── bootstrap.sh               → ~/scripts/bootstrap.sh
├── .vimrc               → ~/.vimrc
├── .dotfiles_manifest   (list of managed HOME paths)
├── install.sh           (new-machine restore script)
└── README.md

Quick start — restore on a new machine

git clone http://172.27.0.35:3000/kenjim/dotfiles ~/dotfiles
bash ~/dotfiles/install.sh

Managed files

Description
location for my unified dotfiles
Readme 268 KiB
Languages
Shell 100%