dotfiles/fish/conf.d/custom.fish

26 lines
908 B
Fish
Raw Normal View History

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
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
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
set -x GTK_THEME Catppuccin-Mocha-Standard-Mauve-Dark
# 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
end