2019-05-30 15:00:26 +00:00
|
|
|
|
# Programas y Opciones del Sistema {{{
|
2021-03-24 07:00:29 +00:00
|
|
|
|
if [[ -n "$NVIM_LISTEN_ADDRESS" ]]; then
|
2020-05-18 09:42:32 +00:00
|
|
|
|
export EDITOR="nvr -cc tabedit --remote-wait +'set bufhidden=wipe'"
|
|
|
|
|
else
|
|
|
|
|
export EDITOR="nvim"
|
|
|
|
|
fi
|
|
|
|
|
|
2021-02-20 02:49:48 +00:00
|
|
|
|
export EXINIT="set ai ic nu sm smd sw=4 ts=4 ruler searchincr para=BlBdPpIt sect=ShSs | map gg 1G"
|
2020-04-18 15:59:02 +00:00
|
|
|
|
export VISUAL="$EDITOR"
|
2020-04-01 15:47:43 +00:00
|
|
|
|
export GIT_EDITOR="$EDITOR"
|
2020-08-19 17:30:47 +00:00
|
|
|
|
export TERMINAL="alacritty"
|
2020-03-29 19:16:35 +00:00
|
|
|
|
export COLORTERM="truecolor"
|
2021-03-24 07:00:29 +00:00
|
|
|
|
export BROWSER="firefox"
|
2020-03-29 19:16:35 +00:00
|
|
|
|
export OPENER="xdg-open"
|
|
|
|
|
export PAGER="less"
|
|
|
|
|
export FILE="lf"
|
2018-08-18 16:39:24 +00:00
|
|
|
|
export GREP_COLOR="0;32"
|
|
|
|
|
export TIME_STYLE="long-iso"
|
|
|
|
|
export BLOCK_SIZE="'1"
|
|
|
|
|
export QUOTING_STYLE=literal
|
2020-04-18 15:59:02 +00:00
|
|
|
|
|
2020-06-03 14:23:45 +00:00
|
|
|
|
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
|
2020-03-29 19:16:35 +00:00
|
|
|
|
export XDG_DATA_HOME="$HOME/.local/share"
|
|
|
|
|
export XDG_CONFIG_HOME="$HOME/.config"
|
|
|
|
|
export XDG_CACHE_HOME="$HOME/.cache"
|
2020-10-06 00:07:59 +00:00
|
|
|
|
export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/X11/xinitrc"
|
|
|
|
|
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
|
2020-04-14 04:07:37 +00:00
|
|
|
|
|
2020-04-15 22:08:22 +00:00
|
|
|
|
export GPG_TTY=$(tty)
|
2020-10-06 00:07:59 +00:00
|
|
|
|
export GNUPGHOME="${XDG_DATA_HOME:-$HOME/.local/share}/gnupg"
|
2020-04-18 15:59:02 +00:00
|
|
|
|
export SSH_ASKPASS="/bin/gnome-ssh-askpass"
|
2020-10-06 00:07:59 +00:00
|
|
|
|
export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/pass"
|
2021-02-09 16:45:49 +00:00
|
|
|
|
eval $(keychain --dir ~/.local/share/keychain --quiet --eval --noask --clear --agents ssh,gpg id_ed25519)
|
2020-04-15 22:08:22 +00:00
|
|
|
|
|
2020-10-06 00:07:59 +00:00
|
|
|
|
export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config"
|
|
|
|
|
export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc"
|
|
|
|
|
export NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/npm/npmrc"
|
|
|
|
|
export NODE_REPL_HISTORY="${XDG_DATA_HOME:-$HOME/.local/share}/node_repl_history"
|
|
|
|
|
export RANDFILE="${XDG_DATA_HOME:-$HOME/.local/share}/rnd"
|
|
|
|
|
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
|
2020-10-12 22:44:04 +00:00
|
|
|
|
export HIGHLIGHT_OPTIONS='--out-format="ansi" --style="pablo"'
|
|
|
|
|
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
|
|
|
|
|
export QT_QPA_PLATFORMTHEME="gtk3"
|
|
|
|
|
export LYNX_LSS="${XDG_CONFIG_HOME:-$HOME/.config}/lynx.lss"
|
Chicos, Medianos, y Grandes
Empezando por los grandes. portee mis scripts de dmenu a rofi ya que
este ultimo ha alcanzado un grado de madurez que considero
satisfactoria. Seguramente haga falta ajustar algunos detalles pero eso
lo ire viendo con el uso.
En cuanto a medianos, afilar el hacha es una ocupacion constante, ojala
me pagaran por eso (creo que ya puse eso en un commit una vez...). Asi
que agregue cosas relevantes para golang, ajuste varios temas de ALE
porque me parecia que no andaban del todo bien, y agregue algunos
archivos que por alguna razon no estaban en el repo.
Siguiendo con los medianos, cambie un par de cosas en la configuracion
de neomutt, como poder tener fechas relativas en el inbox, usar elinks y
suprimir esos mensajes de autoview que eran puro ruido.
Chicos no se, varias cositas aqui y alla. Los cambios de QOL de siempre,
supongo.
Ah, y borre a la mierda el readme de /bin porque era medio cualquiera,
despues voy a ver de crear uno como la gente.
2020-10-21 13:05:09 +00:00
|
|
|
|
export ELINKS_CONFDIR="${XDG_CONFIG_HOME:-$HOME/.config}/elinks"
|
2021-03-24 07:00:29 +00:00
|
|
|
|
export NNTPSERVER="news.tilde.club:119"
|
2020-09-25 17:25:56 +00:00
|
|
|
|
|
2020-10-06 00:07:59 +00:00
|
|
|
|
_JAVA_OPTIONS="-Djava.util.prefs.userRoot=${XDG_DATA_HOME:-$HOME/.local/share}/java "
|
2020-09-25 17:25:56 +00:00
|
|
|
|
_JAVA_OPTIONS+="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true "
|
|
|
|
|
_JAVA_OPTIONS+="-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
|
2020-12-29 15:08:04 +00:00
|
|
|
|
_JAVA_OPTIONS+='-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Djdk.gtk.version=3'
|
2020-09-25 17:25:56 +00:00
|
|
|
|
export _JAVA_OPTIONS
|
|
|
|
|
|
2020-04-18 15:59:02 +00:00
|
|
|
|
eval "$(sed 's/^[^#].*/export &/g;t;d' ${DIR:-$XDG_CONFIG_HOME}/user-dirs.dirs)"
|
2019-05-30 15:00:26 +00:00
|
|
|
|
# }}}
|
|
|
|
|
# FZF {{{
|
2020-10-06 00:07:59 +00:00
|
|
|
|
export FZF_DEFAULT_OPTS="--cycle \
|
2021-02-09 16:45:49 +00:00
|
|
|
|
--color=bg:-1,hl:#5fff87,bg+:-1,hl+:#ffaf5f,border:#080808 \
|
2020-10-06 00:07:59 +00:00
|
|
|
|
--color=info:#af87ff,prompt:#5fff87,pointer:#ff87d7,marker:#ff87d7,spinner:#ff87d7 \
|
2019-04-29 17:32:59 +00:00
|
|
|
|
--reverse \
|
2021-02-20 02:49:48 +00:00
|
|
|
|
--info=inline \
|
2019-04-29 17:32:59 +00:00
|
|
|
|
--no-bold \
|
2019-05-30 15:00:26 +00:00
|
|
|
|
--ansi \
|
2021-02-20 02:49:48 +00:00
|
|
|
|
--pointer='→' \
|
|
|
|
|
--marker='∙' \
|
2021-02-09 16:45:49 +00:00
|
|
|
|
--preview-window :wrap:sharp"
|
2019-04-29 17:32:59 +00:00
|
|
|
|
|
2020-04-14 04:07:37 +00:00
|
|
|
|
export FZF_DEFAULT_COMMAND="fd -t f -c always -H"
|
2019-04-29 17:32:59 +00:00
|
|
|
|
export FZF_COMPLETION_OPTS='+c -x'
|
2019-06-23 03:48:32 +00:00
|
|
|
|
export FZF_CTRL_T_OPTS="--select-1 --exit-0 --preview 'bat --color=always {}'"
|
2020-10-06 00:07:59 +00:00
|
|
|
|
export FZF_CTRL_R_OPTS="--preview 'echo {}' --preview-window down:3:hidden:wrap --bind '?:toggle-preview'"
|
2019-04-29 17:32:59 +00:00
|
|
|
|
export FZF_VIM_LOG=$(git config --get alias.l | awk '{$1=""; print $0;}' | tr -d '\r')
|
2019-05-30 15:00:26 +00:00
|
|
|
|
# }}}
|
|
|
|
|
# Less {{{
|
2020-04-14 04:07:37 +00:00
|
|
|
|
export LESSCHARSET=UTF-8
|
2021-02-20 02:49:48 +00:00
|
|
|
|
export LESS=FRXix4
|
|
|
|
|
export LESS_TERMCAP_mb="$(printf '%b' '[0;34m')"
|
|
|
|
|
export LESS_TERMCAP_md="$(printf '%b' '[0;32m')"
|
2020-03-29 19:16:35 +00:00
|
|
|
|
export LESS_TERMCAP_me="$(printf '%b' '[0m')"
|
2021-02-20 02:49:48 +00:00
|
|
|
|
export LESS_TERMCAP_so="$(printf '%b' '[0;33m')"
|
2020-03-29 19:16:35 +00:00
|
|
|
|
export LESS_TERMCAP_se="$(printf '%b' '[0m')"
|
|
|
|
|
export LESS_TERMCAP_us="$(printf '%b' '[14;32m')"
|
|
|
|
|
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
2020-04-14 04:07:37 +00:00
|
|
|
|
export LESSOPEN="| /usr/bin/highlight -O ansi %s 2>/dev/null"
|
2020-06-03 14:23:45 +00:00
|
|
|
|
export LESSPROMPT='?f%f .?ltLine %lt:?pt%pt\%:?btByte %bt:-...'
|
2020-03-29 19:16:35 +00:00
|
|
|
|
export LESSHISTFILE="-"
|
2019-05-30 15:00:26 +00:00
|
|
|
|
# }}}
|
|
|
|
|
# Path {{{
|
2020-03-29 19:16:35 +00:00
|
|
|
|
typeset -U PATH path
|
2021-02-09 16:45:49 +00:00
|
|
|
|
path=(~/.local/bin ~/.config/yarn/bin ~/.local/share/npm/bin $GOPATH/bin $path[@])
|
2019-05-30 15:00:26 +00:00
|
|
|
|
# }}}
|
|
|
|
|
# vim:foldmethod=marker:foldlevel=0
|