summaryrefslogtreecommitdiff
path: root/zsh/.zsh
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-01-18 15:04:45 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-01-18 15:04:45 +0100
commitf9b60680e1e2c55d0a93ec0016cfcb0dbfa67f69 (patch)
tree40769c046e7ff5ca4321f1058e741ab10b1b7e4f /zsh/.zsh
parent7e7f85e871b6bcd903950aedefc8a6ae4e14d26e (diff)
Make minor changes
Diffstat (limited to 'zsh/.zsh')
-rw-r--r--zsh/.zsh/.zprofile4
-rw-r--r--zsh/.zsh/.zshrc1
2 files changed, 4 insertions, 1 deletions
diff --git a/zsh/.zsh/.zprofile b/zsh/.zsh/.zprofile
index 38e7bb0..e6c4265 100644
--- a/zsh/.zsh/.zprofile
+++ b/zsh/.zsh/.zprofile
@@ -1,5 +1,7 @@
-export EDITOR=vim
+export EDITOR=nvim
+export VISUAL=nvim
export HISTSIZE=1000000
+export SAVEHIST=$HISTSIZE
# Start X automatically
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
diff --git a/zsh/.zsh/.zshrc b/zsh/.zsh/.zshrc
index 95d0bb0..7bce5fe 100644
--- a/zsh/.zsh/.zshrc
+++ b/zsh/.zsh/.zshrc
@@ -124,5 +124,6 @@ alias rd='cd $(git rev-parse --show-toplevel)'
alias mi='make install'
alias mc='make clean'
alias mca='make clean-all'
+alias -s pdf='xdg-open'
# }}}