Compare commits

..

No commits in common. "64b0958236c352386b08a768959f0e2d51bc699e" and "69d5463960b2cce787a19d8efbacaf2bac02d23a" have entirely different histories.

3 changed files with 1 additions and 14 deletions

15
.bashrc
View File

@ -1,15 +1,13 @@
# shellcheck shell=bash
# shellcheck disable=SC1091,SC1090
# If not running interactively, don't do anything # If not running interactively, don't do anything
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
source /etc/os-release source /etc/os-release
# Editor & prompt configuration # Editor & prompt configuration
[ -f "$HOME/.bashrc.d/editor" ] && source "$HOME/.bashrc.d/editor" [ -f "$HOME/.bashrc.d/editor" ] && source "$HOME/.bashrc.d/editor"
[ -f "$HOME/.bashrc.d/prompt" ] && source "$HOME/.bashrc.d/prompt" [ -f "$HOME/.bashrc.d/prompt" ] && source "$HOME/.bashrc.d/prompt"
# Aliases {{{
# Load aliases dynamically # Load aliases dynamically
[ -f "$HOME/.bash_aliases/all" ] && source "$HOME/.bash_aliases/all" [ -f "$HOME/.bash_aliases/all" ] && source "$HOME/.bash_aliases/all"
[ -f "$HOME/.bash_aliases/hosts/$HOSTNAME" ] && source "$HOME/.bash_aliases/hosts/$HOSTNAME" [ -f "$HOME/.bash_aliases/hosts/$HOSTNAME" ] && source "$HOME/.bash_aliases/hosts/$HOSTNAME"
@ -18,11 +16,6 @@ source /etc/os-release
# Host-specific and private configurations # Host-specific and private configurations
[ -f "$HOME/.bashrc.d/hosts/$HOSTNAME" ] && source "$HOME/.bashrc.d/hosts/$HOSTNAME" [ -f "$HOME/.bashrc.d/hosts/$HOSTNAME" ] && source "$HOME/.bashrc.d/hosts/$HOSTNAME"
[ -f "$HOME/.bashrc.d/private" ] && source "$HOME/.bashrc.d/private" [ -f "$HOME/.bashrc.d/private" ] && source "$HOME/.bashrc.d/private"
# }}}
# Prompt {{{
[ -f "$HOME/.bashrc.d/prompt" ] && source "$HOME/.bashrc.d/prompt"
# }}}
# Path {{{ # Path {{{
# Add ~/.bin to PATH # Add ~/.bin to PATH
@ -109,9 +102,3 @@ export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab
# Zettelkasten {{{ # Zettelkasten {{{
export ZK_PATH="$HOME/.zk" export ZK_PATH="$HOME/.zk"
# SSH Agent {{{
if [[ -z "${SSH_CONNECTION}" ]]; then
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
fi
# }}}