9 Commits

Author SHA1 Message Date
0b8d1f11bb add claude profile helpers 2026-06-11 11:02:45 -04:00
ed139c13a3 restrict solo pulls to work machines 2026-06-06 11:34:04 -04:00
cd73ea0859 Merge branch 'main' of ssh://192.168.10.50:30009/jacob/.dotfiles 2026-06-06 11:31:16 -04:00
d3e5e47c01 fix the shift+enter 2026-06-06 11:30:21 -04:00
b44925b2df shift+enter in ghostty 2026-06-06 11:05:58 -04:00
Jacob Bohanon
85b8e773ce Merge branch 'main' of ssh://192.168.10.50:30009/jacob/.dotfiles into local-on-thinkpad 2026-06-06 10:58:53 -04:00
e2521a2df3 changes from personal machine 2026-06-06 10:55:27 -04:00
c03ee8019e Changes returning to solo.io (#1)
1. Add ghostty config
2. Revise the nvim-lsp config to remedy deprecation warnings
3. Add back solo.zsh with enhancements

Reviewed-on: #1
Co-authored-by: Jacob Bohanon <jacobbohanon@gmail.com>
Co-committed-by: Jacob Bohanon <jacobbohanon@gmail.com>
2026-06-01 12:05:40 -04:00
5341a19141 puuuuuush 2025-04-01 01:00:13 -04:00
7 changed files with 67 additions and 4 deletions

View File

@@ -19,3 +19,8 @@ lines = 115
[window.position]
x = 1550
y = 0
[keyboard]
bindings = [
{ key = "Return", mods = "Shift", chars = "\n" }
]

View File

@@ -1 +1,8 @@
font-family = "FiraCode Nerd Font Mono"
background-opacity = 0.8
command = "/usr/bin/zsh -c 'tmux attach || tmux'"
initial-command = "/usr/bin/zsh -c 'tmux attach || tmux'"
keybind = shift+enter=text:\n

View File

@@ -9,7 +9,7 @@ echo "PKGUPD: ${PKGUPD}"
echo "PKGINST: ${PKGINST}"
# Install zsh, neovim, ripgrep, fd
[[ $PKGINST != '' ]] && $PKGUPD && $PKGINST curl tmux zsh ripgrep fd-find fzf
[[ $PKGINST != '' ]] && $PKGUPD && $PKGINST curl tmux zsh ripgrep fd-find fzf tree
# Install neovim
pushd /tmp || true

View File

@@ -41,6 +41,8 @@ alias cdjb='cd $HOME/src/github.com/jbohanon'
alias cdgh='cd $HOME/src/github.com'
alias cdo='cd $HOME/Documents/obsidian/work'
alias nvo='cdo && nvim .'
alias cddd='cd $HOME/src/github.com/AustinRobinson/DrivingDoc'
alias nvdd='cddd && nvim .'
if [[ $(uname) == Linux ]]; then
alias pbcopy='xsel --clipboard --input'
@@ -74,4 +76,4 @@ alias sz='source $HOME/.zshrc'
eval "$(starship init zsh)"
. "$HOME/.local/share/../bin/env"
# [[ -f "$HOME/.local/share/../bin/env" ]] && . "$HOME/.local/share/../bin/env"

29
zsh/config.d/fzf.zsh Normal file
View File

@@ -0,0 +1,29 @@
cdf_preview() {
if [ -d $1 ]; then
tree -L 1 $1
else
cat $1
fi
}
# cdf - cd with fuzzy finder
# Usage: cdf [path]
cdf() {
local fd_options fzf_options target
fd_options=(
--hidden
)
fzf_options=(
# --preview='echo {}'
--preview='([[ -d {} ]] && tree -L 1 {}) || ([[ -L {} ]] && ls -al {}) || cat {}'
--bind=ctrl-space:toggle-preview
--exit-0
)
target="$(fdfind . "${1:-.}" "${fd_options[@]}" | fzf "${fzf_options[@]}")"
([[ -f "$target" ]] || [[ -L "$target" ]]) && target="${target%/*}"
cd "$target" || return 1
}

View File

@@ -1,3 +1,5 @@
if [[ -f "$HOME/.work-machine" ]]; then
SOLO_DIR="$HOME/src/github.com/solo-io"
SOLO_GITHUB="https://github.com/solo-io"
@@ -111,3 +113,21 @@ alias nvagwe='cdagwe && nvim_readme'
alias cdkgw='cd $KGW_DIR/kgateway'
alias nvkgw='cdkgw && nvim_readme'
alias claude-vertex="CLAUDE_CONFIG_DIR=$HOME/.claude-vertex claude"
alias claude-license="CLAUDE_CONFIG_DIR=$HOME/.claude-license claude"
export CLAUDE_CONFIG_DIR="$HOME/.claude-license"
function default-claude() {
if [[ -z "$1" ]] || ([[ "$1" != "vertex" ]] && [[ "$1" != "license" ]]); then
echo "invalid arg; must be 'vertex' or 'license'"
return
fi
if [[ "$1" == "vertex" ]]; then
export CLAUDE_CONFIG_DIR="$HOME/.claude-vertex"
elif [[ "$1" == "license" ]]; then
export CLAUDE_CONFIG_DIR="$HOME/.claude-license"
fi
}
fi

View File

@@ -1,6 +1,6 @@
#!/usr/bin/bash -e
branch=$(git status|head -1|cut -f3 -d\ )
git checkout main
git checkout $(git_main_branch)
git pull
git checkout "$branch"
git merge main
git merge $(git_main_branch)