diff options
author | Guangxiong Lin <[email protected]> | 2021-10-31 23:27:07 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-10-31 23:27:07 +0800 |
commit | ab24ded0a10b8843d94f806aaee3f13042cd9abe (patch) | |
tree | 5927a1a4c6cee6221d28804bab439f61f6a170f7 | |
parent | cb58ef3ad9a8a4476cdf09454d3e652687e8fd90 (diff) | |
download | dotfiles-ab24ded0a10b8843d94f806aaee3f13042cd9abe.tar.gz dotfiles-ab24ded0a10b8843d94f806aaee3f13042cd9abe.tar.bz2 dotfiles-ab24ded0a10b8843d94f806aaee3f13042cd9abe.zip |
Add config of nnn
-rwxr-xr-x | .nnnrc | 7 | ||||
-rw-r--r-- | .zshrc | 2 | ||||
-rwxr-xr-x | bootstrap.sh | 2 |
3 files changed, 10 insertions, 1 deletions
@@ -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' @@ -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 () { |