dgy
/
hexagons
Archived
1
0
Fork 0
This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
hexagons/.zshenv

81 lines
3.1 KiB
Bash

# Programas y Opciones del Sistema {{{
export TERMINAL="termite"
export EDITOR="nvim"
export GIT_EDITOR=$EDITOR
export BROWSER="firefox"
export READER="zathura"
export GREP_COLOR="0;32"
export RANGER_LOAD_DEFAULT_RC="FALSE"
export TIME_STYLE="long-iso"
export BLOCK_SIZE="'1"
export QUOTING_STYLE=literal
export QT_QPA_PLATFORMTHEME=qt5ct
export SSH_ASKPASS="/usr/lib/seahorse/ssh-askpass"
export GTK2_RC_FILES="$HOME/.config/gtk-2.0/gtkrc-2.0"
export NOTMUCH_CONFIG="$HOME/.config/notmuch-config"
export RTV_BROWSER="$BROWSER"
export RTV_URLVIEWER="urlscan"
export RTV_EDITOR="$EDITOR"
export MAILCAPS="$HOME/.config/mutt/mailcap"
export MANPAGER="nvim +'set filetype=man' -"
export HIGHLIGHT_OPTIONS='--out-format="ansi" --style="pablo"'
export BAT_STYLE="numbers,changes,header"
export BAT_THEME="TwoDark"
# }}}
# FZF {{{
export FZF_DEFAULT_COLORS='--color=dark,fg:-1,fg+:254,bg:-1,bg+:235,hl:33,hl+:33,info:8,border:1,prompt:4,pointer:3,marker:3,spinner:8,header:6'
export FZF_DEFAULT_OPTS="$FZF_DEFAULT_COLORS \
--extended \
--reverse \
--inline-info \
--no-bold \
--ansi \
--bind ctrl-f:page-down,ctrl-b:page-up \
--preview-window wrap"
export FZF_DEFAULT_COMMAND="fd --type file --color=always --follow --hidden --exclude .git"
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_ALT_C_COMMAND="bfs -type d -nohidden"
export FZF_COMPLETION_OPTS='+c -x'
export FZF_CTRL_T_OPTS="--select-1 --exit-0 --preview 'bat --color=always {}'"
export FZF_ALT_C_OPTS="--select-1 --exit-0"
export FZF_VIM_LOG=$(git config --get alias.l | awk '{$1=""; print $0;}' | tr -d '\r')
# }}}
# Less {{{
export LESS=" \
--ignore-case \
--tilde \
--chop-long-lines \
--status-column \
--LONG-PROMPT \
--jump-target=10 \
--RAW-CONTROL-CHARS \
--silent \
--tabs=4 \
--shift=5"
export LESSOPEN="| highlight $HIGHLIGHT_OPTIONS -- %s 2>/dev/null" # Use `highlight` program to try to highlight opened file according to its extension.
export LESSHISTFILE="-" # Command and search history file.
export LESSKEYRC="$HOME/.config/less/lesskey" # Path of the uncompiled lesskey file.
export LESSKEY="$LESSKEYRC.lwc" # Path of the compiled lesskey file.
export LESS_TERMCAP_md=$(tput bold; tput setaf 4) # Turn on bold mode.
export LESS_TERMCAP_me=$(tput sgr0) # Turn off all attributes.
export LESS_TERMCAP_so=$(tput bold; tput setaf 3) # Begin standout mode.
export LESS_TERMCAP_se=$(tput rmso; tput sgr0) # Exit standout mode.
export LESS_TERMCAP_us=$(tput smul; tput bold; tput setaf 250) # Begin underline mode.
export LESS_TERMCAP_ue=$(tput rmul; tput sgr0) # Exit underline mode.
export LESS_TERMCAP_mr=$(tput rev) # Turn on reverse video mode.
export LESS_TERMCAP_mh=$(tput dim) # Turn on half-bright mode.
export LESS_TERMCAP_ZN=$(tput ssubm) # Enter subscript mode.
export LESS_TERMCAP_ZV=$(tput rsubm) # End subscript mode.
export LESS_TERMCAP_ZO=$(tput ssupm) # Enter superscript mode.
export LESS_TERMCAP_ZW=$(tput rsupm) # End superscript mode.
# }}}
# Path {{{
# typeset -U path
path=(~/bin ~/.local/bin ~/.yarn/bin ~/.config/yarn/global/node_modules/.bin /usr/lib/surfraw $path[@])
# }}}
# vim:foldmethod=marker:foldlevel=0