commit a3722e5b1a5717c918685f6f4cdc2f2081a3551d
parent e1b51abf4aa4704d6cafbea3287f777cc84e67e5
Author: oscarbenedito <oscar@oscarbenedito.com>
Date:   Wed, 25 Mar 2020 00:51:39 +0100

More home cleaning

Diffstat:
Mdot_config/aliases.tmpl | 2+-
Mdot_config/nvim/init.vim | 1+
Mdot_zshenv | 25++++++++++++++-----------
Mdot_zshrc.tmpl | 4+---
4 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/dot_config/aliases.tmpl b/dot_config/aliases.tmpl @@ -1,7 +1,7 @@ alias clear="printf '\033c'" # Colors -alias ls="ls -h --color=auto --group-directories-first" +alias ls="ls -hv --color=auto --group-directories-first" alias grep="grep --color=auto" alias fgrep="fgrep --color=auto" alias egrep="egrep --color=auto" diff --git a/dot_config/nvim/init.vim b/dot_config/nvim/init.vim @@ -1,5 +1,6 @@ call plug#begin() Plug 'junegunn/goyo.vim' " minimalist design, nice for writing text +Plug 'vim-latex/vim-latex' call plug#end() " commands for latex-suite diff --git a/dot_zshenv b/dot_zshenv @@ -1,19 +1,22 @@ # Local bin to path -[ -d "$HOME/.local/bin" ] && PATH="$HOME/.local/bin:$PATH" +[ -d "$HOME/.local/bin" ] && export PATH="$HOME/.local/bin:$PATH" # XDG dirs -XDG_DATA_HOME="$HOME/.local/share" -XDG_CONFIG_HOME="$HOME/.config" -XDG_CACHE_HOME="$HOME/.cache" +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_CACHE_HOME="$HOME/.cache" + +# Programs default folders +export GNUPGHOME="$XDG_DATA_HOME/gnupg" +export R_LIBS_USER="$XDG_DATA_HOME/R" +export ATOM_HOME="$XDG_DATA_HOME/atom" +export GOPATH="$XDG_DATA_HOME/go" +export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc" +export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME/jupyter" +export ICEAUTHORITY="$XDG_CACHE_HOME/ICEauthority" +export LESSHISTFILE="-" # Environment variables export VISUAL="vim" export EDITOR="vim" -# Programs default folders -export GOPATH="$HOME/.config/go" -export R_LIBS_USER="$HOME/.config/R" -export WGETRC="$HOME/.config/wget/wgetrc" -export LESSHISTFILE="-" -export ATOM_HOME="$HOME/.config/atom" -export JUPYTER_CONFIG_DIR="$HOME/.config/jupyter" diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl @@ -32,9 +32,7 @@ bindkey -M menuselect 'l' vi-forward-char bindkey -M menuselect 'j' vi-down-line-or-history # Process the alias file -if [ -f "$HOME/.config/aliases" ]; then - source "$HOME/.config/aliases" -fi +[ -f "$HOME/.config/aliases" ] && source "$HOME/.config/aliases" # Include the highlighting plug-in {{- if eq .chezmoi.osRelease.id "debian" }}