|
|
|
|
@ -21,18 +21,18 @@ shopt -s checkwinsize
|
|
|
|
|
|
|
|
|
|
export EDITOR=nvim
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# 1Password
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
#
|
|
|
|
|
# Use the 1Password agent to manage ssh keys
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# XDG Base Directory Specification
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
#
|
|
|
|
|
# Define standard locations for configuration and data files
|
|
|
|
|
#
|
|
|
|
|
@ -66,9 +66,9 @@ export NVM_DIR="/Users/corey/Library/Application Support/Herd/config/nvm"
|
|
|
|
|
# Less don't make a history file
|
|
|
|
|
export LESSHISTFILE="/dev/null"
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# PATH Configuration
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
#
|
|
|
|
|
# Set up the PATH environment variable with all necessary directories
|
|
|
|
|
#
|
|
|
|
|
@ -92,18 +92,18 @@ fi
|
|
|
|
|
# Export the final PATH
|
|
|
|
|
export PATH
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# Export terminal type
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
#
|
|
|
|
|
# Set terminal to 256color mode for use with custom color schemes
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
export TERM="xterm-256color"
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# Prompt
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
#
|
|
|
|
|
# Simple prompt matching Ubuntu's default style with colors
|
|
|
|
|
#
|
|
|
|
|
@ -188,9 +188,9 @@ PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\${GIT_PROMPT
|
|
|
|
|
|
|
|
|
|
export PYTHON_HISTORY="$HOME/.local/state/python_history"
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# Shell History
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
@ -214,9 +214,9 @@ shopt -s histreedit
|
|
|
|
|
shopt -s histverify
|
|
|
|
|
shopt -s lithist
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# Tmux Configuration
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
#
|
|
|
|
|
# Settings for Tmux integration
|
|
|
|
|
#
|
|
|
|
|
@ -225,9 +225,9 @@ if [[ ! $(tmux list-sessions) ]]; then
|
|
|
|
|
tmux new -s Tmux;
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# fzf
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
#
|
|
|
|
|
# https://github.com/junegunn/fzf
|
|
|
|
|
#
|
|
|
|
|
@ -291,27 +291,37 @@ export FZF_ALT_C_OPTS="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# Mise
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
eval "$(mise activate bash)"
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# Alias
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
alias ls='ls -CG'
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
alias .='pwd'
|
|
|
|
|
|
|
|
|
|
alias d='chezmoi'
|
|
|
|
|
|
|
|
|
|
for i in $(seq 2 8); do
|
|
|
|
|
dots=$(printf '.%.0s' $(seq 1 $i))
|
|
|
|
|
paths=$(printf '../%.0s' $(seq 1 $((i - 1))))
|
|
|
|
|
alias "$dots"="cd $paths"
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# Zoxide
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
#
|
|
|
|
|
# Setup zsh completions and zoxide cd jumping
|
|
|
|
|
#
|
|
|
|
|
|