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.
21 lines
274 B
Fish
21 lines
274 B
Fish
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
|
|
|