From 705e52ccd2b1759884b4506b804fbcd4bd402562 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Tue, 13 Jun 2023 15:43:51 -0400 Subject: [PATCH] fish: run identity file if profile hasn't run kinda hacky but who cares --- src/.config/fish/config.fish | 4 ++++ src/.profile | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/.config/fish/config.fish b/src/.config/fish/config.fish index 96e0a03..795d97d 100644 --- a/src/.config/fish/config.fish +++ b/src/.config/fish/config.fish @@ -21,6 +21,10 @@ set -gx MANPATH "$MANPATH:/home/dogeystamp/.cache/cppman/" # Disable fish greeting set fish_greeting "" +if test -z "$PROFILE_RAN" + source "$XDG_CONFIG_HOME"/identity +end + if status --is-interactive # Enable Vi bindings fish_hybrid_key_bindings diff --git a/src/.profile b/src/.profile index 692290f..d82869b 100644 --- a/src/.profile +++ b/src/.profile @@ -67,4 +67,6 @@ else . "$XDG_CONFIG_HOME"/dot_profile fi +export PROFILE_RAN=yes + . .config/bashrc