#
# Dotfile specifics for Rita
#

# Path
# Note: lower in the list = higher priority
PATH_ADDS = [
  "/home/deprekated/.bin",
  "/home/deprekated/.local/bin",
  "/Users/deprekated/.cargo/bin",
  "/usr/local/sbin",
  "/usr/local/bin",
  "/home/deprekated/.gem/ruby/2.6.0/bin",
  "/home/deprekated/.cargo/bin/",
]


# Aliases
aliases['ls'] = 'eza -gb'
aliases['tree'] = 'eza --tree'
aliases['open'] = 'xdg-open'


# Python
$PYTHONPATH=""
$PYTHONPATH.extend([
#   $HOME + "/Projects/greatfet/libgreat/host", 
#   $HOME + "/Projects/greatfet/host"
    $HOME + "/Projects/luna",
    $HOME + "/Projects/apollo"
])


# Smartcard auth
#$GPG_TTY=$(tty).strip()
#gpg-connect-agent updatestartuptty /bye 2>&1 >/dev/null
#$SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket).strip()


# Detect if we're in a chroot
if $(ls -di /).startswith("2 "):
    $PROMPT += "[chroot] " + $PROMPT

