Compare commits

..
5 Commits
Author SHA1 Message Date
gitadmin 51ac6e1d29 refactor(desktop): switch remote dev sessions from herdr to direct ssh+tmux
Replace the custom herdr remote-launch tool with plain ssh + tmux
new-session for bianca, dupont, and steve-dev entries.
2026-07-24 14:53:30 -04:00
gitadmin a1e8dd023d refactor(dotfiles): move profile to config/bash/ and add bash_aliases 2026-07-24 14:53:30 -04:00
gitadmin 58cdff19fc chore(ghostty): switch font to MonaspiceNeNerdFontMono 2026-07-24 14:53:30 -04:00
gitadmin b040d332dc fix(nvim): remove <C-U> from tmux-navigator keymaps 2026-07-24 14:53:30 -04:00
gitadmin 98f809dfe5 refactor(shell): modularize shell config into per-shell profiles and conf.d
Split bash config into dedicated aliases and profile files. Extract
fish shell init from config.fish into composable conf.d fragments
(setup, environment, ssh-auth-sock). Remove the generic profile in
favor of the bash-specific one. Add a static SSH_AUTH_SOCK symlink
so tmux sessions always see the current socket regardless of which
shell spawned them.
2026-07-24 14:53:30 -04:00
15 changed files with 100 additions and 54 deletions
+9
View File
@@ -0,0 +1,9 @@
alias zero='zero.js'
alias wtc="wt switch --create --execute=$EDITOR"
alias wts="wt switch"
alias wtr="wt remove @"
alias ll="eza -l -g --icons"
alias ls="eza -al --color=always --group-directories-first"
alias g="git"
alias neogit="nvim +Neogit"
+36
View File
@@ -0,0 +1,36 @@
append_path () {
case ":$PATH:" in
*:"$1":*)
;;
*)
PATH="${PATH:+$PATH:}$1"
esac
}
append_path "$HOME/.local/bin"
append_path "$HOME/.cargo/bin"
export PATH
if [ test -x $(command -v mise) ]; then
eval "$(mise activate bash)"
fi
if [ test -x $(command -v zoxide) ]; then
eval "$(zoxide init bash)"
fi
if [ test -x $(command -v fzf) ]; then
eval "$(fzf --bash)"
fi
if [ -z "$SSH_CONNECTION" ]; then
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
fi
# Create a predictable symlink pointing to the current SSH auth socket
auth_sock="$HOME/.ssh/ssh_auth_sock"
if [ -n "$SSH_AUTH_SOCK" ] && [ "$SSH_AUTH_SOCK" != "$auth_sock" ]; then
mkdir -p "$HOME/.ssh"
ln -sf "$SSH_AUTH_SOCK" "$auth_sock"
fi
+20
View File
@@ -0,0 +1,20 @@
if command -q mise
mise activate fish | source
end
if command -q direnv
direnv hook fish | source
end
if command -q zoxide;
zoxide init fish | source
end
if command -q fzf
fzf --fish | source
end
if command -q jj
jj util completion fish | source
end
+11
View File
@@ -0,0 +1,11 @@
fish_add_path "$HOME/.local/bin"
fish_add_path "$HOME/.cargo/bin"
set -gx npm_config_prefix "$HOME/.local"
if command -q nvim
set -gx EDITOR nvim
end
set -gx VISUAL $EDITOR
+9
View File
@@ -0,0 +1,9 @@
# Create a predictable symlink to the current SSH auth socket.
# tmux forces SSH_AUTH_SOCK to ~/.ssh/ssh_auth_sock globally
# (see config/tmux/tmux.conf), so this symlink must exist for every
# interactive shell -- not just bash login shells.
set -l auth_sock "$HOME/.ssh/ssh_auth_sock"
if set -q SSH_AUTH_SOCK; and test "$SSH_AUTH_SOCK" != "$auth_sock"; and test -S "$SSH_AUTH_SOCK"
mkdir -p "$HOME/.ssh"
ln -sf "$SSH_AUTH_SOCK" "$auth_sock"
end
-24
View File
@@ -12,27 +12,6 @@ if status is-interactive
fish_config prompt choose default fish_config prompt choose default
fish_hybrid_key_bindings fish_hybrid_key_bindings
fish_add_path "$HOME/.local/bin"
fish_add_path "$HOME/.cargo/bin"
set -gx npm_config_prefix "$HOME/.local"
if command -q mise
/usr/bin/mise activate fish | source
end
if command -q direnv
/usr/bin/direnv hook fish | source
end
if command -q zoxide
/usr/bin/zoxide init fish | source
end
if command -q fzf
/usr/bin/fzf --fish | source
end
command -q nmcli && alias nmlist "nmcli device wifi list" command -q nmcli && alias nmlist "nmcli device wifi list"
if command -q tree if command -q tree
@@ -51,7 +30,6 @@ if status is-interactive
command -q zero.js && alias zero 'zero.js' command -q zero.js && alias zero 'zero.js'
if command -q nvim if command -q nvim
set -gx EDITOR nvim
alias oo "cd $SECOND_BRAIN" alias oo "cd $SECOND_BRAIN"
alias on "nvim '+Obsidian new'" alias on "nvim '+Obsidian new'"
alias os "nvim '+Obsidian search'" alias os "nvim '+Obsidian search'"
@@ -83,8 +61,6 @@ if status is-interactive
command -q bat && alias cat "bat" command -q bat && alias cat "bat"
command -q git && alias g git command -q git && alias g git
set -gx VISUAL $EDITOR
if command -q jj if command -q jj
/usr/bin/jj util completion fish | source /usr/bin/jj util completion fish | source
end end
+1 -4
View File
@@ -8,13 +8,10 @@ gtk-tabs-location = hidden
gtk-wide-tabs = false gtk-wide-tabs = false
window-show-tab-bar = auto window-show-tab-bar = auto
config-file = "theme" config-file = "theme"
font-family = "TX-02" font-family = "MonaspiceNeNerdFontMono"
font-family-bold = "TX-02 Bold"
font-family-italic = "TX-02 Oblique"
font-size = 13 font-size = 13
#adjust-cell-width = -7% #adjust-cell-width = -7%
adjust-cell-height = 5% adjust-cell-height = 5%
font-size = 13
#background-opacity = 0.90 #background-opacity = 0.90
#background-blur-radius = 20 #background-blur-radius = 20
confirm-close-surface = false confirm-close-surface = false
+1
View File
@@ -11,6 +11,7 @@ copilot-cli = "latest"
"github:ZinoKader/portal" = "latest" "github:ZinoKader/portal" = "latest"
"github:danielmiessler/fabric" = "latest" "github:danielmiessler/fabric" = "latest"
"github:mrusme/reader" = "latest" "github:mrusme/reader" = "latest"
"github:rimio-ai/rimz" = "latest"
"github:ulyssa/iamb" = "latest" "github:ulyssa/iamb" = "latest"
"github:zed-industries/codex-acp" = "latest" "github:zed-industries/codex-acp" = "latest"
herdr = "latest" herdr = "latest"
+4 -4
View File
@@ -2,8 +2,8 @@ vim.pack.add({
{ src = 'https://github.com/christoomey/vim-tmux-navigator' }, { src = 'https://github.com/christoomey/vim-tmux-navigator' },
}) })
vim.keymap.set('n', "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>" ) vim.keymap.set('n', "<c-h>", "<cmd>TmuxNavigateLeft<cr>" )
vim.keymap.set('n', "<c-j>", "<cmd><C-U>TmuxNavigateDown<cr>" ) vim.keymap.set('n', "<c-j>", "<cmd>TmuxNavigateDown<cr>" )
vim.keymap.set('n', "<c-k>", "<cmd><C-U>TmuxNavigateUp<cr>" ) vim.keymap.set('n', "<c-k>", "<cmd>>TmuxNavigateUp<cr>" )
vim.keymap.set('n', "<c-l>", "<cmd><C-U>TmuxNavigateRight<cr>" ) vim.keymap.set('n', "<c-l>", "<cmd>TmuxNavigateRight<cr>" )
-- vim.keymap.set('n', "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>") -- vim.keymap.set('n', "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>")
-18
View File
@@ -1,18 +0,0 @@
append_path () {
case ":$PATH:" in
*:"$1":*)
;;
*)
PATH="${PATH:+$PATH:}$1"
esac
}
append_path "$HOME/.local/bin"
append_path "$HOME/.cargo/bin"
export PATH
if [ -z "$SSH_CONNECTION" ]; then
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
fi
+4
View File
@@ -18,6 +18,10 @@ set -as terminal-feature ",foot*:RGB"
# allow terminal scrolling # allow terminal scrolling
#set -g terminal-overrides 'xterm*:smcup@:rmcup@' #set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# Force tmux to use the static symlink path globally
setenv -g SSH_AUTH_SOCK "$HOME/.ssh/ssh_auth_sock"
set -g update-environment "DISPLAY XAUTHORITY"
# default shell # default shell
set -g default-shell "/usr/bin/fish" set -g default-shell "/usr/bin/fish"
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0 Version=1.0
Name=bianca Name=bianca
Comment=remote dev Comment=remote dev
Exec=foot -a bianca mise exec -- herdr --remote bianca Exec=foot -a bianca ssh bianca mise exec -- tmux new -A -s main
Terminal=false Terminal=false
Type=Application Type=Application
Icon=foot Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0 Version=1.0
Name=dupont Name=dupont
Comment=remote dev Comment=remote dev
Exec=foot -a dupont mise exec -- herdr --remote dupont Exec=foot -a dupont ssh dupont mise exec -- tmux new -A -s main
Terminal=false Terminal=false
Type=Application Type=Application
Icon=foot Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0 Version=1.0
Name=Steve dev Name=Steve dev
Comment=remote dev Comment=remote dev
Exec=foot -a steve-dev mise exec -- herdr --remote steve-dev Exec=foot -a steve-dev ssh steve-dev mise exec -- tmux new -A -s main
Terminal=false Terminal=false
Type=Application Type=Application
Icon=foot Icon=foot
+2 -1
View File
@@ -54,7 +54,8 @@ dotfiles.default_mode = "symlink-each"
"~/.config/uwsm" = "config/uwsm" "~/.config/uwsm" = "config/uwsm"
"~/.config/worktrunck" = "config/worktrunk" "~/.config/worktrunck" = "config/worktrunk"
"~/.config/chromium-flags.conf" = { source = "config/chromium-flags.conf", mode = "symlink" } "~/.config/chromium-flags.conf" = { source = "config/chromium-flags.conf", mode = "symlink" }
"~/.profile" = { source = "config/profile", mode = "symlink" } "~/.profile" = { source = "config/bash/profile", mode = "symlink" }
"~/.bash_aliases" = { source = "config/bash/aliases", mode = "symlink" }
"~/.config/zero" = "config/zero" "~/.config/zero" = "config/zero"
"~/.local/share/fonts/" = { source = "fonts", mode = "copy" } "~/.local/share/fonts/" = { source = "fonts", mode = "copy" }