aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fish2025/config.fish21
1 files changed, 21 insertions, 0 deletions
diff --git a/fish2025/config.fish b/fish2025/config.fish
new file mode 100644
index 0000000..b54f3bf
--- /dev/null
+++ b/fish2025/config.fish
@@ -0,0 +1,21 @@
+if status is-interactive
+ # go for a bar cursor in xterm - if you do this when doing non-interactive stuff, it will break
+ # the output of the command and you cannot use the pachelbel jump server.
+ echo -e -n "\x1b[\x36 q"
+ # Commands to run in interactive sessions can go here
+end
+
+set fish_greeting ""
+
+if not contains "$HOME/.local/bin" $PATH
+ # Prepending path in case a system-installed binary needs to be overridden
+ set -x PATH "$HOME/.local/bin" $PATH
+end
+
+set -gx GPG_TTY (tty)
+set -gx SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
+gpgconf --launch gpg-agent
+
+# make sure direnv is loaded
+direnv hook fish | source
+