fix(n³): config
This commit is contained in:
parent
77bcaab8c4
commit
191884acc2
13
.README.md
13
.README.md
@ -184,9 +184,10 @@ vi --version
|
||||
|
||||
- Archives Management:
|
||||
- bsdtar (`libarchive-tools`) supports _Zstd_
|
||||
- last release of `atool` is from 2012
|
||||
- https://github.com/solsticedhiver/atool2
|
||||
- https://github.com/wummel/patool
|
||||
- [fuse-archive](https://github.com/google/fuse-archive)
|
||||
- `atool`: last release is from 2012
|
||||
- https://github.com/solsticedhiver/atool2
|
||||
- https://github.com/wummel/patool
|
||||
|
||||
- Drag&Drop: URI=https://github.com/mwh/dragon
|
||||
|
||||
@ -198,17 +199,17 @@ vi --version
|
||||
### Source Code of Latest Release
|
||||
|
||||
```
|
||||
# Download archive & extract files
|
||||
# Download archive & extract files
|
||||
URI=https://github.com/jarun/nnn
|
||||
xdg-open $URI/releases/latest
|
||||
ARCHIVE=$(echo $HOME/Downloads/*.gz(om[1])) && echo $ARCHIVE
|
||||
tar xf $ARCHIVE
|
||||
|
||||
# Compile
|
||||
# Compile
|
||||
cd nnn*(om[1])
|
||||
make clean
|
||||
sudo make O_GITSTATUS=1 O_NAMEFIRST=1 O_NERD=1 install
|
||||
|
||||
# Copy plugins
|
||||
# Copy plugins
|
||||
plugins/getplugs
|
||||
```
|
||||
|
8
.zshrc
8
.zshrc
@ -229,9 +229,13 @@ compdef hg=rg
|
||||
# nnn - n³
|
||||
#
|
||||
# See https://github.com/jarun/nnn/wiki/Usage#configuration
|
||||
export NNN_ARCHIVE='\\.(7z|bz2|gz|tar|tbz|tgz|xz|zip|zst)$'
|
||||
export NNN_ARCHIVE='\.(7z|bz2|gz|tar|tbz|tgz|xz|zip|zst)$'
|
||||
if (( ${+commands[fuse-archive]} )); then
|
||||
export NNN_ARCHMNT='fuse-archive'
|
||||
fi
|
||||
export NNN_BMS="d:$HOME/Downloads"
|
||||
export NNN_OPTS='ABin'
|
||||
export NNN_OPENER="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins/nuke"
|
||||
export NNN_OPTS='ABcGHin'
|
||||
export NNN_ORDER="t:$HOME/Downloads"
|
||||
export NNN_PLUG="d:diffs;D:dragdrop;M:xdgdefault"
|
||||
if (( ${+commands[trash-put]} )); then
|
||||
|
Loading…
x
Reference in New Issue
Block a user