mirror of
https://github.com/gyoder/dots.git
synced 2026-04-02 20:25:46 +00:00
misc: changes to ghostty and passthrough
This commit is contained in:
parent
70a1581228
commit
a2dd719d64
4 changed files with 84 additions and 580 deletions
|
|
@ -2,73 +2,80 @@ set host (hostname)
|
|||
|
||||
if string match -q "*turing*" "$host"
|
||||
set -x PATH /Users/scie/.local/nvim-macos-arm64/bin \
|
||||
/opt/homebrew/Cellar/universal-ctags/HEAD-43ca055/bin \
|
||||
/Users/scie/.local/xonsh-env/xbin \
|
||||
/Users/scie/.local/xonsh-env/xbin \
|
||||
/opt/homebrew/opt/icu4c@76/sbin \
|
||||
/opt/homebrew/opt/icu4c@76/bin \
|
||||
/opt/homebrew/opt/llvm/bin \
|
||||
/Users/scie/.dotnet/tools \
|
||||
/Users/scie/.local/bin \
|
||||
/Users/scie/Library/Python/3.9/bin \
|
||||
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/emulators \
|
||||
/opt/homebrew/bin/iodine \
|
||||
/opt/homebrew/bin \
|
||||
/opt/homebrew/opt/zig@0.14/bin \
|
||||
/Users/scie/.platformio/penv/bin/ \
|
||||
/Users/scie/.cargo/bin \
|
||||
/Users/scie/.local/xonsh-env/xbin \
|
||||
/Users/scie/go/bin \
|
||||
/usr/bin \
|
||||
/usr/local/bin \
|
||||
/usr/sbin \
|
||||
/usr/local/sbin \
|
||||
/bin \
|
||||
/sbin
|
||||
else if test "$host" = "lovelace"
|
||||
/opt/homebrew/Cellar/universal-ctags/HEAD-43ca055/bin \
|
||||
/Users/scie/.local/xonsh-env/xbin \
|
||||
/Users/scie/.local/xonsh-env/xbin \
|
||||
/opt/homebrew/opt/icu4c@76/sbin \
|
||||
/opt/homebrew/opt/icu4c@76/bin \
|
||||
/opt/homebrew/opt/llvm/bin \
|
||||
/Users/scie/.dotnet/tools \
|
||||
/Users/scie/.local/bin \
|
||||
/Users/scie/Library/Python/3.9/bin \
|
||||
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/emulators \
|
||||
/opt/homebrew/bin/iodine \
|
||||
/opt/homebrew/bin \
|
||||
/opt/homebrew/opt/zig@0.14/bin \
|
||||
/Users/scie/.platformio/penv/bin/ \
|
||||
/Users/scie/.cargo/bin \
|
||||
/Users/scie/.local/xonsh-env/xbin \
|
||||
/Users/scie/go/bin \
|
||||
/usr/bin \
|
||||
/usr/local/bin \
|
||||
/usr/sbin \
|
||||
/usr/local/sbin \
|
||||
/bin \
|
||||
/sbin
|
||||
else if test "$host" = lovelace
|
||||
set -x PATH /home/scie/.local/bin \
|
||||
/home/linuxbrew/.linuxbrew/bin \
|
||||
/home/linuxbrew/.linuxbrew/sbin \
|
||||
/home/scie/.nvm/versions/node/v22.15.0/bin \
|
||||
/home/scie/.cargo/bin \
|
||||
/usr/local/sbin \
|
||||
/usr/local/bin \
|
||||
/usr/sbin \
|
||||
/usr/bin \
|
||||
/sbin \
|
||||
/bin \
|
||||
/usr/games \
|
||||
/usr/local/games \
|
||||
/snap/bin
|
||||
else if test "$host" = "lee"
|
||||
fish_add_path ~/.local/bin
|
||||
/home/linuxbrew/.linuxbrew/bin \
|
||||
/home/linuxbrew/.linuxbrew/sbin \
|
||||
/home/scie/.nvm/versions/node/v22.15.0/bin \
|
||||
/home/scie/.cargo/bin \
|
||||
/usr/local/sbin \
|
||||
/usr/local/bin \
|
||||
/usr/sbin \
|
||||
/usr/bin \
|
||||
/sbin \
|
||||
/bin \
|
||||
/usr/games \
|
||||
/usr/local/games \
|
||||
/snap/bin
|
||||
else if test "$host" = lee
|
||||
fish_add_path ~/.local/bin
|
||||
end
|
||||
|
||||
set -gx HOMEBREW_BUNDLE_FILE "~/.config/Brewfile"
|
||||
|
||||
if test -d /home/linuxbrew/.linuxbrew
|
||||
# Homebrew is installed on Linux
|
||||
|
||||
set -gx HOMEBREW_PREFIX "/home/linuxbrew/.linuxbrew"
|
||||
set -gx HOMEBREW_CELLAR "/home/linuxbrew/.linuxbrew/Cellar"
|
||||
set -gx HOMEBREW_REPOSITORY "/home/linuxbrew/.linuxbrew/Homebrew"
|
||||
set -gx PATH "/home/linuxbrew/.linuxbrew/bin" "/home/linuxbrew/.linuxbrew/sbin" "/home/linuxbrew/.linuxbrew/opt/rustup/bin" $PATH
|
||||
set -q MANPATH; or set MANPATH ''
|
||||
set -gx MANPATH "/home/linuxbrew/.linuxbrew/share/man" $MANPATH
|
||||
set -q INFOPATH; or set INFOPATH ''
|
||||
set -gx INFOPATH "/home/linuxbrew/.linuxbrew/share/info" $INFOPATH
|
||||
|
||||
# Homebrew is installed on Linux
|
||||
|
||||
set -gx HOMEBREW_PREFIX "/home/linuxbrew/.linuxbrew"
|
||||
set -gx HOMEBREW_CELLAR "/home/linuxbrew/.linuxbrew/Cellar"
|
||||
set -gx HOMEBREW_REPOSITORY "/home/linuxbrew/.linuxbrew/Homebrew"
|
||||
set -gx PATH "/home/linuxbrew/.linuxbrew/bin" "/home/linuxbrew/.linuxbrew/sbin" "/home/linuxbrew/.linuxbrew/opt/rustup/bin" $PATH
|
||||
set -q MANPATH; or set MANPATH ''
|
||||
set -gx MANPATH "/home/linuxbrew/.linuxbrew/share/man" $MANPATH
|
||||
set -q INFOPATH; or set INFOPATH ''
|
||||
set -gx INFOPATH "/home/linuxbrew/.linuxbrew/share/info" $INFOPATH
|
||||
|
||||
end
|
||||
|
||||
if status is-interactive
|
||||
set -g fish_greeting ""
|
||||
pfetch
|
||||
set -gx XDG_CONFIG_HOME $HOME/.config
|
||||
|
||||
if status is-interactive
|
||||
|
||||
if set -q GHOSTTY_RESOURCES_DIR
|
||||
source "$GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish"
|
||||
end
|
||||
set -g fish_greeting ""
|
||||
pfetch
|
||||
|
||||
fish_vi_key_bindings
|
||||
|
||||
fish_config theme choose "Rosé Pine"
|
||||
starship init fish | source
|
||||
zoxide init fish | source
|
||||
|
||||
fish_config theme choose "Rosé Pine"
|
||||
starship init fish | source
|
||||
zoxide init fish | source
|
||||
end
|
||||
|
||||
alias setupidf "source /opt/esp/esp-idf/export.fish"
|
||||
|
|
|
|||
|
|
@ -4,14 +4,18 @@ clipboard-read = allow
|
|||
clipboard-write = allow
|
||||
copy-on-select = true
|
||||
theme = Rose Pine
|
||||
font-family = "ComicCode Nerd Font"
|
||||
font-family = "ComicCode Nerd Font SemiBold"
|
||||
font-style-italic = "ComicCode Nerd Font Light"
|
||||
macos-option-as-alt = left
|
||||
macos-icon = microchip
|
||||
macos-icon = blueprint
|
||||
font-feature = -calt
|
||||
font-feature = -liga
|
||||
font-feature = -dlig
|
||||
|
||||
cursor-click-to-move = true
|
||||
|
||||
keybind = global:cmd+grave_accent=toggle_quick_terminal
|
||||
quick-terminal-position = center
|
||||
quick-terminal-animation-duration = .1
|
||||
|
||||
keybind = alt+i=inspector:toggle
|
||||
|
|
|
|||
520
starship.log
520
starship.log
File diff suppressed because one or more lines are too long
|
|
@ -2,8 +2,11 @@
|
|||
set-environment -g TMUX_POWERLINE_THEME bubble
|
||||
# Options
|
||||
set -g mouse on
|
||||
set -g default-terminal "screen-256color"
|
||||
set-option -sa terminal-overrides ',xterm-256color:Tc,xterm-*:allow-passthrough'
|
||||
# set -g default-terminal "screen-256color"
|
||||
set -g default-terminal "xterm-ghostty"
|
||||
# set-option -sa terminal-overrides ',xterm-256color:Tc,xterm-*:allow-passthrough'
|
||||
set -ga terminal-overrides ",xterm-ghostty:Tc"
|
||||
|
||||
set-window-option -g mode-keys vi
|
||||
set -g status-position top
|
||||
set-option -g set-clipboard on
|
||||
|
|
@ -13,6 +16,11 @@ set -g base-index 1
|
|||
setw -g pane-base-index 1
|
||||
|
||||
|
||||
set -g allow-passthrough all
|
||||
set -as terminal-features ",xterm-ghostty:hyperlinks"
|
||||
|
||||
|
||||
|
||||
# Keybinds
|
||||
set-option -g prefix C-\\
|
||||
unbind C-b
|
||||
|
|
@ -51,6 +59,11 @@ bind-key "T" run-shell "sesh connect \"$(
|
|||
--preview 'sesh preview {}'
|
||||
)\""
|
||||
|
||||
bind-key -T copy-mode-vi [ send-keys -X previous-prompt
|
||||
bind-key -T copy-mode-vi M-[ send-keys -X previous-prompt -o
|
||||
bind-key -T copy-mode-vi ] send-keys -X next-prompt
|
||||
bind-key -T copy-mode-vi M-] send-keys -X next-prompt -o
|
||||
|
||||
# Plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue