Commit Graph

50 Commits

Author SHA1 Message Date
jsarthak a7246fe879 Fix tmux paths 2026-07-18 22:55:40 +05:30
jsarthak e53b81fe55 Some shell fixes 2026-07-18 22:42:08 +05:30
jsarthak dd47827e13 feat(tmux): auto-name sessions with emoji + codename
- scripts/tmux-session-name.sh: generates random emoji + adj-noun name
  40 emojis x 40 adjectives x 40 nouns = 64,000 combinations
  Only renames numerically-named sessions (skips explicit names)

- tmux.conf.local: session-created hook calls the script automatically

- shell/common: added DOTFILES=$HOME/dotfiles env var so hooks and
  scripts can find the dotfiles root without hardcoded paths

Examples: '🐉 sonic-oracle', '🌟 electric-nebula', '🔱 nova-comet'
2026-07-18 15:18:50 +05:30
jsarthak 1ec7aff593 fix(tmux): always-on Neovim-style NORMAL/VISUAL mode indicator
NORMAL = always visible when working in tmux (green)
VISUAL = switches in when entering copy-mode via prefix+Enter (blue)

Uses pane-mode-changed hook with -F flag for clean format evaluation.
Default @mode_indicator set to NORMAL on config load.
2026-07-18 14:47:18 +05:30
jsarthak 04b03d85cd fix(tmux): fix NORMAL/VISUAL mode indicators
The #{?pane_in_mode,...} inline conditional was getting mangled by
oh-my-tmux's awk/sed pipeline that processes tmux_conf_theme_status_right.

Fix: use #{@mode_indicator} user-option in status_right, driven by:
  - bind Enter  → sets NORMAL indicator (green) on copy-mode entry
  - bind v      → sets VISUAL indicator (blue) on selection start
  - bind y/Esc  → clears indicator on copy/exit
  - pane-mode-changed hook → clears indicator when mode exits

Also fixed: encoding artifacts in status_right, missing bullet separator.
2026-07-18 14:44:53 +05:30
jsarthak f96891b6ec refactor: consolidate all branches into single-branch Strategy 1
- bash/.bashrc: replace oh-my-bash with minimal unified config
  sources common → aliases → OS overlay → .bashrc.local

- zsh/.zshrc: remove hardcoded macOS PATHs (moved to macos overlay)
  clean sourcing order: common → personal → aliases → OS → .zshrc.local

- shell/common: populated with universal exports (EDITOR, HISTSIZE, etc.)
- shell/macos: Homebrew, Antigravity, Flutter PATH, fzf init, macOS aliases
- shell/linux: xdg-open, xclip, fzf init for Linux

- nvim/plugins/work.lua: Copilot plugin (migrated from origin/work branch)
- nvim/plugins/_init.lua: conditional load via DOTFILES_PROFILE=work env var

- tmux/.tmux.conf.local: per-machine override hook (~/.tmux.conf.machine.local)

- bootstrap.sh: one-command new machine setup with profile support
  usage: bash bootstrap.sh [personal|work]

- .gitignore: comprehensive .local file ignore patterns

All branches (linux, mac, work, linux_personal, linux_work, mac_personal)
can now be deleted — all unique content is merged into master.
2026-07-18 14:38:41 +05:30
jsarthak 52cd32ab95 fix starship colors 2026-07-18 14:24:51 +05:30
jsarthak de44196750 tmux configuration redesign 2026-07-18 13:56:41 +05:30
jsarthak bd0fca3af6 modify starship 2026-07-17 21:57:08 +05:30
jsarthak e29bfd1594 modify tmux 2026-07-17 21:53:02 +05:30
jsarthak 5ea0114631 fix tabs in nvim 2026-03-20 12:52:26 +05:30
jsarthak 6e2eba211f fix oh my bash path 2026-03-16 20:57:29 +05:30
jsarthak 993e375a76 Move shell config 2026-03-15 14:55:55 +05:30
jsarthak d68beb82d9 Geany config changes 2026-03-15 14:32:21 +05:30
jsarthak 58080d0aa2 Change wezterm config file path 2026-03-15 14:28:04 +05:30
jsarthak 471d2e2b71 remove copilot from master 2026-03-15 14:20:33 +05:30
jsarthak 48d7990c10 ignore lazy lock 2026-03-15 14:19:37 +05:30
jsarthak 32fa1a369b Fix stow 2026-03-15 14:10:52 +05:30
jsarthak d002786ad4 docs: restore README.md 2026-03-15 14:02:22 +05:30
jsarthak bcd24b7c15 chore: ignore README.md and .git recursively in stow 2026-03-15 13:58:52 +05:30
jsarthak 839b7e0b5f Change directory structure 2026-03-15 13:56:32 +05:30
jsarthak 1f9cee1ad9 Zshrc changes 2026-03-15 13:09:31 +05:30
jsarthak 81540facfe Add ohmybash changes in bashrc 2026-03-15 13:08:25 +05:30
jsarthak 7a121e3814 fix stow 2026-03-15 12:59:33 +05:30
jsarthak d7f76aa1a9 Merge pull request 'mac_personal' (#1) from mac_personal into master
Reviewed-on: #1
2026-03-15 12:54:07 +05:30
jsarthak 3a82b9b170 Remove work config file 2026-03-15 12:50:16 +05:30
jsarthak 3000fe9834 Ignore fonts in mac stow 2026-03-15 12:50:16 +05:30
jsarthak de06d3ecb9 Remove copilot chat 2026-03-15 12:44:26 +05:30
jsarthak a9d4518dfb Add work config file 2026-03-15 11:04:41 +05:30
jsarthak ef0d4c346c Add more 2026-03-15 10:53:30 +05:30
jsarthak 0cb38447fc Modify README 2026-03-15 10:43:56 +05:30
jsarthak d2c5b35cc7 remove work config 2026-03-15 10:41:10 +05:30
jsarthak a2c3404cb2 Fix dotfiles structure 2026-03-15 10:32:59 +05:30
jsarthak ca014e9949 Add oh-my-bash 2026-03-14 22:03:54 +05:30
jsarthak c893a025c2 Add zsh auto suggestions 2026-03-14 21:56:11 +05:30
jsarthak 78ac524366 Add wezterm config 2026-03-14 21:51:44 +05:30
jsarthak c2ff9bfb4a Stow based dotfiles structure 2026-03-14 21:49:23 +05:30
jsarthak 19ff15afdc Cleanup hidden files 2026-03-14 21:39:09 +05:30
jsarthak 79f8666ae4 Change tmux accent color 2026-03-14 21:31:30 +05:30
jsarthak b78dea4999 Change bashrc files and install script 2026-03-13 18:11:17 +05:30
jsarthak 88c308ecc4 Change dotfiles structure for shell 2026-03-13 17:57:57 +05:30
jsarthak 4f3f274626 Various dotfiles fixes 2026-03-13 16:28:29 +05:30
jsarthak e457cce72e Various dotfiles fixes 2026-03-13 16:20:02 +05:30
jsarthak 6ba6dae68c Neovim flash keybindings change 2026-03-12 20:27:59 +05:30
jsarthak 7ad4baa14c Zshrc fixes for mac 2026-03-12 19:26:49 +05:30
jsarthak 8284d6b522 Neovim add flash and surround plugins 2026-03-12 19:01:50 +05:30
jsarthak 345e0e25ea Zshrc fixes for mac 2026-03-12 13:16:14 +05:30
jsarthak 20382f7e99 fix install script 2026-03-12 12:44:03 +05:30
jsarthak 34ca0c017f Remove office config 2026-03-12 12:41:29 +05:30
jsarthak 5441420e71 first commit 2026-03-12 12:35:37 +05:30