aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024/config.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish2024/config.fish')
-rw-r--r--fish2024/config.fish10
1 files changed, 8 insertions, 2 deletions
diff --git a/fish2024/config.fish b/fish2024/config.fish
index 7173d3c..68e6ea3 100644
--- a/fish2024/config.fish
+++ b/fish2024/config.fish
@@ -1,11 +1,12 @@
# unbind Y to paste
-bind \cy ''
+#bind \cy ''
if status is-interactive
# Commands to run in interactive sessions can go here
set -gx EDITOR vim
set -gx GPG_TTY (tty)
set -gx LEDGER_FILE $HOME/Budget/hledger/budget.ledger
+ set -gx BORG_PASSCOMMAND "pass borg-passphrase"
end
# https://gist.github.com/josh-padnick/c90183be3d0e1feb89afd7573505cab3
@@ -15,4 +16,9 @@ set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK
set -Ux SSH_AGENT_PID $SSH_AGENT_PID
# end
-. ~/perl5/perlbrew/etc/perlbrew.fish
+#. ~/perl5/perlbrew/etc/perlbrew.fish
+
+#direnv prints all the variables whenever I start a new shell
+direnv hook fish | source
+# recommended to use this line to stop the env variables being printed every time
+#eval (direnv hook fish)