Compare commits
No commits in common. "64b0958236c352386b08a768959f0e2d51bc699e" and "69d5463960b2cce787a19d8efbacaf2bac02d23a" have entirely different histories.
64b0958236
...
69d5463960
15
.bashrc
15
.bashrc
|
@ -1,15 +1,13 @@
|
|||
# shellcheck shell=bash
|
||||
# shellcheck disable=SC1091,SC1090
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
|
||||
source /etc/os-release
|
||||
|
||||
# Editor & prompt configuration
|
||||
[ -f "$HOME/.bashrc.d/editor" ] && source "$HOME/.bashrc.d/editor"
|
||||
[ -f "$HOME/.bashrc.d/prompt" ] && source "$HOME/.bashrc.d/prompt"
|
||||
|
||||
# Aliases {{{
|
||||
# Load aliases dynamically
|
||||
[ -f "$HOME/.bash_aliases/all" ] && source "$HOME/.bash_aliases/all"
|
||||
[ -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
|
||||
[ -f "$HOME/.bashrc.d/hosts/$HOSTNAME" ] && source "$HOME/.bashrc.d/hosts/$HOSTNAME"
|
||||
[ -f "$HOME/.bashrc.d/private" ] && source "$HOME/.bashrc.d/private"
|
||||
# }}}
|
||||
|
||||
# Prompt {{{
|
||||
[ -f "$HOME/.bashrc.d/prompt" ] && source "$HOME/.bashrc.d/prompt"
|
||||
# }}}
|
||||
|
||||
# Path {{{
|
||||
# Add ~/.bin to PATH
|
||||
|
@ -109,9 +102,3 @@ export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab
|
|||
|
||||
# Zettelkasten {{{
|
||||
export ZK_PATH="$HOME/.zk"
|
||||
|
||||
# SSH Agent {{{
|
||||
if [[ -z "${SSH_CONNECTION}" ]]; then
|
||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||
fi
|
||||
# }}}
|
||||
|
|
Loading…
Reference in New Issue