# Snapshot file
# Unset all aliases to avoid conflicts with functions
unalias -a 2>/dev/null || true
# Functions
eval "$(echo 'Z2F3a2xpYnBhdGhfYXBwZW5kICgpIAp7IAogICAgWyAteiAiJEFXS0xJQlBBVEgiIF0gJiYgQVdL
TElCUEFUSD1gZ2F3ayAnQkVHSU4ge3ByaW50IEVOVklST05bIkFXS0xJQlBBVEgiXX0nYDsKICAg
IGV4cG9ydCBBV0tMSUJQQVRIPSIkQVdLTElCUEFUSDokKiIKfQo=' | base64 -d)" > /dev/null 2>&1
eval "$(echo 'Z2F3a2xpYnBhdGhfZGVmYXVsdCAoKSAKeyAKICAgIHVuc2V0IEFXS0xJQlBBVEg7CiAgICBleHBv
cnQgQVdLTElCUEFUSD1gZ2F3ayAnQkVHSU4ge3ByaW50IEVOVklST05bIkFXS0xJQlBBVEgiXX0n
YAp9Cg==' | base64 -d)" > /dev/null 2>&1
eval "$(echo 'Z2F3a2xpYnBhdGhfcHJlcGVuZCAoKSAKeyAKICAgIFsgLXogIiRBV0tMSUJQQVRIIiBdICYmIEFX
S0xJQlBBVEg9YGdhd2sgJ0JFR0lOIHtwcmludCBFTlZJUk9OWyJBV0tMSUJQQVRIIl19J2A7CiAg
ICBleHBvcnQgQVdLTElCUEFUSD0iJCo6JEFXS0xJQlBBVEgiCn0K' | base64 -d)" > /dev/null 2>&1
eval "$(echo 'Z2F3a3BhdGhfYXBwZW5kICgpIAp7IAogICAgWyAteiAiJEFXS1BBVEgiIF0gJiYgQVdLUEFUSD1g
Z2F3ayAnQkVHSU4ge3ByaW50IEVOVklST05bIkFXS1BBVEgiXX0nYDsKICAgIGV4cG9ydCBBV0tQ
QVRIPSIkQVdLUEFUSDokKiIKfQo=' | base64 -d)" > /dev/null 2>&1
eval "$(echo 'Z2F3a3BhdGhfZGVmYXVsdCAoKSAKeyAKICAgIHVuc2V0IEFXS1BBVEg7CiAgICBleHBvcnQgQVdL
UEFUSD1gZ2F3ayAnQkVHSU4ge3ByaW50IEVOVklST05bIkFXS1BBVEgiXX0nYAp9Cg==' | base64 -d)" > /dev/null 2>&1
eval "$(echo 'Z2F3a3BhdGhfcHJlcGVuZCAoKSAKeyAKICAgIFsgLXogIiRBV0tQQVRIIiBdICYmIEFXS1BBVEg9
YGdhd2sgJ0JFR0lOIHtwcmludCBFTlZJUk9OWyJBV0tQQVRIIl19J2A7CiAgICBleHBvcnQgQVdL
UEFUSD0iJCo6JEFXS1BBVEgiCn0K' | base64 -d)" > /dev/null 2>&1
eval "$(echo 'aXNfZ2l0X3JlcG9zaXRvcnkgKCkgCnsgCiAgICBnaXQgYnJhbmNoID4gL2Rldi9udWxsIDI+JjEK
fQo=' | base64 -d)" > /dev/null 2>&1
eval "$(echo 'c2V0X2dpdF9icmFuY2ggKCkgCnsgCiAgICBnaXRfc3RhdHVzPSIkKGdpdCBzdGF0dXMgMj4gL2Rl
di9udWxsKSI7CiAgICBpZiBbWyAke2dpdF9zdGF0dXN9ID1+ICJ3b3JraW5nIHRyZWUgY2xlYW4i
IF1dOyB0aGVuCiAgICAgICAgc3RhdGU9IiR7R1JFRU59IjsKICAgIGVsc2UKICAgICAgICBpZiBb
WyAke2dpdF9zdGF0dXN9ID1+ICJDaGFuZ2VzIHRvIGJlIGNvbW1pdHRlZCIgXV07IHRoZW4KICAg
ICAgICAgICAgc3RhdGU9IiR7WUVMTE9XfSI7CiAgICAgICAgZWxzZQogICAgICAgICAgICBzdGF0
ZT0iJHtMSUdIVF9SRUR9IjsKICAgICAgICBmaTsKICAgIGZpOwogICAgcmVtb3RlX3BhdHRlcm49
IllvdXIgYnJhbmNoIGlzIChhaGVhZHxiZWhpbmQpKyAiOwogICAgaWYgW1sgJHtnaXRfc3RhdHVz
fSA9fiAke3JlbW90ZV9wYXR0ZXJufSBdXTsgdGhlbgogICAgICAgIGlmIFtbICR7QkFTSF9SRU1B
VENIWzFdfSA9PSAiYWhlYWQiIF1dOyB0aGVuCiAgICAgICAgICAgIHJlbW90ZT0i4oaRIjsKICAg
ICAgICBlb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UExBWUVEPTE7
CiAgICAgICAgZmk7CiAgICAgICAgcmV0dXJuIDE7CiAgICBmaTsKICAgIHNldF9wcm9tcHRfc3lt
Ym9sICQ/OwogICAgc2V0X3ZpcnR1YWxlbnY7CiAgICBpZiBpc19naXRfcmVwb3NpdG9yeTsgdGhl
bgogICAgICAgIHNldF9naXRfYnJhbmNoOwogICAgZWxzZQogICAgICAgIEJSQU5DSD0nJzsKICAg
IGZpOwogICAgWyAteiAiJFBTMV9PTEQiIF0gJiYgZXhwb3J0IFBTMV9PTEQ9IiRQUzEiOwogICAg
UFMxPSIkUFMxX09MRCAke1BZVEhPTl9WSVJUVUFMRU5WfSR7Q09MT1JfTk9ORX0gJHtCUkFOQ0h9
IicKJyIke1BST01QVF9TWU1CT0x9ICIKfQo=' | base64 -d)" > /dev/null 2>&1
eval "$(echo 'c2V0X3ZpcnR1YWxlbnYgKCkgCnsgCiAgICBpZiBbWyBgcHllbnYgdmVyc2lvbi1uYW1lYCA9PSAi
c3lzdGVtIiBdXTsgdGhlbgogICAgICAgIFBZVEhPTl9WSVJUVUFMRU5WPSIiOwogICAgZWxzZQog
ICAgICAgIFBZVEhPTl9WSVJUVUFMRU5WPSIke0xJR0hUX0dSQVl9PHB5ZW52ICR7WUVMTE9XfWBw
eWVudiB2ZXJzaW9uLW5hbWVgJHtMSUdIVF9HUkFZfT4ke0NPTE9SX05PTkV9IjsKICAgIGZpCn0K' | base64 -d)" > /dev/null 2>&1
# Shell Options
shopt -u autocd
shopt -u assoc_expand_once
shopt -u cdable_vars
shopt -u cdspell
shopt -u checkhash
shopt -u checkjobs
shopt -s checkwinsize
shopt -s cmdhist
shopt -u compat31
shopt -u compat32
shopt -u compat40
shopt -u compat41
shopt -u compat42
shopt -u compat43
shopt -u compat44
shopt -s complete_fullquote
shopt -u direxpand
shopt -u dirspell
shopt -u dotglob
shopt -u execfail
shopt -u expand_aliases
shopt -u extdebug
shopt -u extglob
shopt -s extquote
shopt -u failglob
shopt -s force_fignore
shopt -s globasciiranges
shopt -s globskipdots
shopt -u globstar
shopt -u gnu_errfmt
shopt -u histappend
shopt -u histreedit
shopt -u histverify
shopt -s hostcomplete
shopt -u huponexit
shopt -u inherit_errexit
shopt -s interactive_comments
shopt -u lastpipe
shopt -u lithist
shopt -u localvar_inherit
shopt -u localvar_unset
shopt -s login_shell
shopt -u mailwarn
shopt -u no_empty_cmd_completion
shopt -u nocaseglob
shopt -u nocasematch
shopt -u noexpand_translation
shopt -u nullglob
shopt -s patsub_replacement
shopt -s progcomp
shopt -u progcomp_alias
shopt -s promptvars
shopt -u restricted_shell
shopt -u shift_verbose
shopt -s sourcepath
shopt -u varredir_close
shopt -u xpg_echo
set -o braceexpand
set -o hashall
set -o interactive-comments
set -o monitor
set -o onecmd
shopt -s expand_aliases
# Aliases
# Check for rg availability
if ! command -v rg >/dev/null 2>&1; then
  alias rg='/usr/local/lib/node_modules/\@anthropic-ai/claude-code/vendor/ripgrep/x64-linux/rg'
fi
export PATH=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/usr/games\:/usr/local/games\:/snap/bin
