diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-08-10 15:14:32 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-08-10 15:14:32 -0400 |
| commit | 04a4d3216989e00d0e7fa3f1624c3c6439e3af58 (patch) | |
| tree | cfbeeb9f59ababc2e9c9dd1d1599f891364503d8 | |
| parent | Add brewfile sync script (diff) | |
| download | dotfiles-04a4d3216989e00d0e7fa3f1624c3c6439e3af58.zip | |
Update dotfiles for gpg and env changes
| -rw-r--r-- | .gitconfig | 2 | ||||
| -rwxr-xr-x | .zshrc | 7 | ||||
| -rw-r--r-- | gpg-agent.conf | 2 | ||||
| -rwxr-xr-x | install.sh | 8 |
4 files changed, 14 insertions, 5 deletions
@@ -19,4 +19,4 @@ [commit] gpgsign = true [gpg] - program = /opt/homebrew/bin/gpg + program = gpg @@ -33,6 +33,9 @@ export PATH="$GOBIN:$PATH" source "$HOME/.cargo/env" +export BAT_THEME="gruvbox-dark" +export FZF_DEFAULT_COMMAND="fd --type f --hidden --follow --exclude .git" + export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" @@ -101,10 +104,6 @@ case ":$PATH:" in esac # pnpm end -# bat -export BAT_THEME="gruvbox-dark" -# - export CPPFLAGS="-I/usr/local/opt/readline/include" export LDFLAGS="-L/usr/local/opt/readline/lib" export PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig" diff --git a/gpg-agent.conf b/gpg-agent.conf new file mode 100644 index 0000000..ccfe41d --- /dev/null +++ b/gpg-agent.conf @@ -0,0 +1,2 @@ +pinentry-program /opt/homebrew/bin/pinentry-mac + @@ -105,15 +105,23 @@ main() { echo "Linking bin.." mkdir "$HOME/src" ensure_symlink_exists "$PWD/bin" "$HOME/src/bin" + echo "Linking gdb init.." ensure_symlink_exists "$PWD/.gdbinit" "$HOME/.gdbinit" + echo "Linking git config.." ensure_symlink_exists "$PWD/.gitconfig" "$HOME/.gitconfig" + echo "Linking tmux config.." ensure_symlink_exists "$PWD/.tmux.conf" "$HOME/.tmux.conf" + echo "Linking zshrc.." ensure_symlink_exists "$PWD/.zshrc" "$HOME/.zshrc" + echo "Linked gpg agent config.." + ensure_symlink_exists "$PWD/gpg-agent.conf" "$HOME/gnupg/gpg-agent.conf" + gpgconf --kill gpg-agent # Reload the GPG agent + echo "Linking vim config.." mkdir -p $HOME/.config/nvim ensure_symlink_exists "$PWD/.config/nvim/init.lua" "$HOME/.config/nvim/init.lua" |