aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2025-01-05 19:34:51 +0000
committerMatthew Lemon <y@yulqen.org>2025-01-05 19:35:17 +0000
commit879ec83bbf98f63d9ba80fef195e5a36e162e0b7 (patch)
tree9b0be60e48a5b56f2179458be1d50baec8c50ee8
parentaf9ae884e42c56815ebbcd982d33d0caa9851663 (diff)
Adds new fish config
-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
+