aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.nnnrc7
-rw-r--r--.zshrc2
-rwxr-xr-xbootstrap.sh2
3 files changed, 10 insertions, 1 deletions
diff --git a/.nnnrc b/.nnnrc
new file mode 100755
index 0000000..d1eea9b
--- /dev/null
+++ b/.nnnrc
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+
+if [ ! -d $HOME/.config/nnn/plugins ]; then
+ curl -Ls https://raw.githubusercontent.com/jarun/nnn/master/plugins/getplugs | sh
+fi
+
+export NNN_PLUG='f:fzcd;v:imgview;j:autojump'
diff --git a/.zshrc b/.zshrc
index 0c1738a..7a8f7a4 100644
--- a/.zshrc
+++ b/.zshrc
@@ -64,3 +64,5 @@ zplug load
source $HOME/.aliases
source $HOME/.functions
[ -f $HOME/.zsh_local ] && source $HOME/.zsh_local
+
+[ -f $HOME/.nnnrc ] && source $HOME/.nnnrc
diff --git a/bootstrap.sh b/bootstrap.sh
index e1e38b4..fdc8003 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -21,7 +21,7 @@ link_all () {
.mbsyncrc .msmtprc .tmux.conf .urlview .zshrc \
.vimrc .vim .path .functions .emacs.d .gitconfig \
.config/i3 .config/polybar .xinitrc .pam_environment \
- .zprofile .newsboat .ledgerrc
+ .zprofile .newsboat .ledgerrc .nnnrc
}
main () {