summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-05-21 12:36:14 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-05-21 12:36:14 +0200
commitb1284d9671d3811cbafb5b10d2a0b6b8ec19376d (patch)
tree7fd5e21d05bb1aafb4b867904ed02af641f8e340 /bash
parente8635d9825063e73eaef67ec68397f4d332471a2 (diff)
NeoVim and Automatic Install:
* Automatic installation file `install.sh` in order to handle NeoVim config. * NeoVim config -> a copy from Vims, check that in the future.
Diffstat (limited to 'bash')
-rw-r--r--bash/.bash_profile7
1 files changed, 7 insertions, 0 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile
index 5130536..c4f3457 100644
--- a/bash/.bash_profile
+++ b/bash/.bash_profile
@@ -13,3 +13,10 @@ if [ -f ~/.bash_extra ] ; then
fi
export TERM=xterm-256color
+
+# NeoVim configuration
+################################################################
+# Create .config if it doesn't exist and set XDG vars
+mkdir -p $HOME/.config
+XDG_CONFIG_HOME=${XDG_CONFIG_HOME:=$HOME/.config}
+XDG_DATA_HOME=${XDG_DATA_HOME:=$HOME/.config}