2023-11-20 11:20:55 -06:00
|
|
|
if status is-interactive
|
2024-04-17 21:41:22 -05:00
|
|
|
set -gx PATH $PATH ~/.cargo/bin/
|
|
|
|
set -gx PATH $PATH /opt/clang-format-static
|
2023-11-20 11:20:55 -06:00
|
|
|
set -x GPG_TTY (tty)
|
|
|
|
set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
|
|
|
|
set -x EDITOR nvim
|
2023-11-30 18:19:56 -06:00
|
|
|
set -x DOCKER_HOST unix://$XDG_RUNTIME_DIR/docker.sock
|
2023-11-20 11:20:55 -06:00
|
|
|
gpgconf --launch gpg-agent
|
|
|
|
gpg-connect-agent updatestartuptty /bye
|
2024-02-21 09:26:25 -06:00
|
|
|
# ctrl+backspace (^H in kitty)
|
2024-04-17 21:41:22 -05:00
|
|
|
# for ctrl+delete: kill-word ([3;5~ in kitty)
|
2024-02-21 09:26:25 -06:00
|
|
|
bind \cH backward-kill-path-component
|
2024-03-16 14:13:32 -05:00
|
|
|
bind '[3;5~' kill-word
|
2024-03-06 20:18:13 -06:00
|
|
|
set -x NIXPKGS_ALLOW_UNFREE 1
|
|
|
|
set -x NIXPKGS_ALLOW_INSECURE 1
|
2024-03-18 20:23:47 -05:00
|
|
|
set -x GTK_THEME Catppuccin-Mocha-Standard-Mauve-Dark
|
2024-04-20 20:33:35 -05:00
|
|
|
# XDG variables
|
|
|
|
set -x XDG_DATA_HOME ~/.local/share
|
|
|
|
set -x XDG_CONFIG_HOME ~/.config
|
|
|
|
set -x XDG_STATE_HOME ~/.local/state
|
|
|
|
if not [ -d /tmp/$UID-runtime-dir ]
|
|
|
|
mkdir /tmp/$UID-runtime-dir
|
|
|
|
end
|
|
|
|
set -x XDG_RUNTIME_DIR /tmp/runtime-dir
|
2023-11-30 18:19:56 -06:00
|
|
|
end
|