aboutsummaryrefslogtreecommitdiff
path: root/modules/base/fish/config.fish
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base/fish/config.fish')
-rw-r--r--modules/base/fish/config.fish28
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/base/fish/config.fish b/modules/base/fish/config.fish
new file mode 100644
index 00000000000..633ccbca4fc
--- /dev/null
+++ b/modules/base/fish/config.fish
@@ -0,0 +1,28 @@
+# source $HOME/.cargo/env
+set -gx PATH $HOME/.cargo/bin $PATH
+set -gx PATH $HOME/.local/bin $PATH
+set -gx PATH /usr/sbin $PATH
+set -gx GRAAL_HOME ~/.local/share/graalvm/
+
+# The o bit is a bit of a hack
+# umask u=rw,g=rw,o-rwx
+
+# direnv hook fish | source
+
+# gnome-keyring insists on setting this to itself, even if ssh support is disabled
+set -x SSH_AUTH_SOCK "/run/user/1000/gnupg/S.gpg-agent.ssh"
+
+# Fix some utf-8 errors
+set -x LC_ALL en_GB.utf8
+
+# Include the nix environment
+# fenv source /home/spacekookie/.nix-profile/etc/profile.d/nix.sh
+
+# Better nix-shell support!
+any-nix-shell fish --info-right | source
+
+# Make git use emacs
+set -x EDITOR kak
+
+# tuuuuuuuurbofish!
+set fish_greeting 'Welcome to the '(set_color FF66CC)'::<>' (set_color normal)'...'