summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-06-30 15:16:26 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-06-30 15:16:26 +0200
commita4602751fbb633244ff3aa76de4e5d0ed18000e3 (patch)
treecc507e67debf7501f2a9e122f80003237f90a15e /bash
parent0cc322091c5fa0e3fe34c57d4ace5ac8a4e6d1d1 (diff)
Better neovim configuration in bash
Diffstat (limited to 'bash')
-rw-r--r--bash/.bash_aliases1
-rw-r--r--bash/.bash_profile4
2 files changed, 3 insertions, 2 deletions
diff --git a/bash/.bash_aliases b/bash/.bash_aliases
index 397a823..73f0d8f 100644
--- a/bash/.bash_aliases
+++ b/bash/.bash_aliases
@@ -23,6 +23,7 @@ alias l='ls -CF'
# vim open multiple files in tabs
alias vim='vim -p'
+alias nvim='nvim -p'
# show me the terminal colors
alias 256color='(x=`tput op` y=`printf %76s`;for i in {0..256};do o=00$i;echo -e ${o:${#o}-3:3} `tput setaf $i;tput setab $i`${y// /=}$x;done)'
diff --git a/bash/.bash_profile b/bash/.bash_profile
index c4f3457..affc9db 100644
--- a/bash/.bash_profile
+++ b/bash/.bash_profile
@@ -18,5 +18,5 @@ export TERM=xterm-256color
################################################################
# 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}
+export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:=$HOME/.config}
+export XDG_DATA_HOME=${XDG_DATA_HOME:=$HOME/.config}