.dotfiles/bash/bashrc.distrobox

6 lines
169 B
Bash

# vim: ft=sh
export DISTROBOX=$(grep -oP "(?<=name=\")[^\";]+" /run/.containerenv)
export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock"
HISTFILE="${HISTFILE}.$DISTROBOX"