2021-11-03 12:01:43 -05:00
|
|
|
# sane ls colors
|
|
|
|
set --export --universal LS_COLORS 'ow=01;36;40'
|
|
|
|
set --export --universal EXA_COLORS '*=0'
|
|
|
|
|
|
|
|
# iex history
|
|
|
|
set --export --universal ERL_AFLAGS "-kernel shell_history enabled -kernel shell_history_file_bytes 1024000"
|
|
|
|
|
|
|
|
set --export --universal TERMINAL kitty
|
2021-12-23 12:03:19 -06:00
|
|
|
set --export --universal TERMINAL_ARGS '--single-instance'
|
|
|
|
set --export --universal BROWSER firefox-developer-edition
|
2021-11-03 12:01:43 -05:00
|
|
|
|
|
|
|
set --export --universal PAGER less
|
|
|
|
set --export --universal LESS "-r"
|
|
|
|
|
2022-07-19 11:21:25 -05:00
|
|
|
set --export --universal MANPAGER 'env MANWIDTH="" "$EDITOR"'
|
2021-11-03 12:01:43 -05:00
|
|
|
|
2022-05-25 11:38:52 -05:00
|
|
|
if command --search --quiet nvim
|
2022-07-19 11:21:25 -05:00
|
|
|
set --export --universal MANPAGER 'env MANWIDTH="" nvim --cmd "let g:prosession_on_startup=0" +Man!'
|
2021-11-03 12:01:43 -05:00
|
|
|
set --export --universal EDITOR nvim
|
|
|
|
set --export --universal VISUAL nvim
|
2022-07-19 11:21:25 -05:00
|
|
|
else if command --search --quiet helix
|
|
|
|
set --export --universal EDITOR helix
|
|
|
|
set --export --universal VISUAL helix
|
|
|
|
else if command --search --quiet hx
|
|
|
|
set --export --universal EDITOR hx
|
|
|
|
set --export --universal VISUAL hx
|
2021-11-03 12:18:12 -05:00
|
|
|
else if command --search --quiet vim
|
|
|
|
set --export --universal EDITOR vim
|
|
|
|
set --export --universal VISUAL vim
|
|
|
|
else if command --search --quiet vi
|
2021-11-03 12:01:43 -05:00
|
|
|
set --export --universal EDITOR vi
|
|
|
|
set --export --universal VISUAL vi
|
|
|
|
end
|
|
|
|
|
2022-02-01 17:10:13 -06:00
|
|
|
set --export --universal SOPS_AGE_KEY_FILE "$XDG_CONFIG_HOME/sops/age/keys.txt"
|
|
|
|
|
2021-11-03 12:01:43 -05:00
|
|
|
# has_command fd && set -Ux FZF_DEFAULT_COMMAND 'fd --type f --hidden --follow --exclude .git'
|