Select the types of activity you want to include in your feed.
Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature.
gitlab.com/andreijiroh-dev/dotfiles
···11#!/usr/bin/env bash
2233-export HOST_SPECIFIC_BASHRC_PATH="$HOME/.config/$HOSTNAME.bashrc"
44-53# Stage 0: Source dotenv stuff from homedir
64source "$HOME/.env"
75if [[ -f "$HOME/.env.local" ]]; then
···97 LOCAL_DOTENV_LOADED=true
108fi
1191212-# Stage 1: Source the ~/.profile
1313-source "$HOME/.profile"
1010+if [[ $TERMUX ]]; then
1111+ export SSH_AGENT_=todo
1212+elif command -v keychain >> /dev/null; then
1313+ export KEYCHAIN_PATh=$(command -v keychain)
1414+ eval $(keychain --agents gpg,ssh --eval)
1515+fi
14161515-# Added by Toolbox App
1616-export PATH="$PATH:/home/ajhalili2006/.local/share/JetBrains/Toolbox/scripts"
1717+# how about detecting local configs
1818+if [ -f "$HOME/.config/localconfig.env" ]; then
1919+ . "$HOME/.config/localconfig.env"
2020+fi
17211822_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true
1919-2020-if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then . "$HOME/.nix-profile/etc/profile.d/nix.sh"; fi # added by Nix installer
+1
.bashrc
···6060fi
61616262# handle hostname generation for importing host-specific configs
6363+# TODO: Handle detection when we don't have WSL_* variables on tmux shell sessions
6364if [[ $WSL_DISTRO_NAME ]] && [[ $WSL_INTEROP ]]; then
6465 HOSTNAME_BASH="${HOSTNAME}-wsl-${WSL_DISTRO_NAME}"
6566 export WSL=1 # similar to CODESPACES and GITPOD_WORKSPACE_ID vars
···33if [ -n "$BASH_VERSION" ]; then
44 # include .bashrc if it exists
55 if [ -f "$HOME/.bashrc" ]; then
66- . "$HOME/.bashrc"
66+ . "$HOME/.bashrc"
77 fi
88fi
991010-export PATH="/usr/local/bin${PATH:+:}$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts:$HOME/.local/bin" # ~vern specifics and more
1010+export PATH="/usr/local/bin:$HOME/.local/bin:$HOME/bin${PATH:+:}$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts" # ~vern specifics and more
1111mesg n 2> /dev/null || true
12121313# then import the rest
···1919if [ -f "$HOME/.config/localconfig.env" ]; then
2020 . "$HOME/.config/localconfig.env"
2121fi
2222-2323-# Import asdf to shell
2424-#export ASDF_DIR="$HOME/.asdf"
2525-#. "$HOME/.asdf/asdf.sh"
2626-2727-eval "$(devbox global shellenv)"
28222923_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true