This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/common/fish/vars.fish
2021-11-03 12:18:12 -05:00

28 lines
925 B
Fish

# 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
set --export --universal BROWSER firefox-nightly
set --export --universal PAGER less
set --export --universal LESS "-r"
set --export --universal MANPAGER 'env MANWIDTH="" nvim --cmd "let g:prosession_on_startup=0" +Man!'
if command --search --quiet nvim
set --export --universal EDITOR nvim
set --export --universal VISUAL nvim
else if command --search --quiet vim
set --export --universal EDITOR vim
set --export --universal VISUAL vim
else if command --search --quiet vi
set --export --universal EDITOR vi
set --export --universal VISUAL vi
end
# has_command fd && set -Ux FZF_DEFAULT_COMMAND 'fd --type f --hidden --follow --exclude .git'