From 277f156c370bfca23ec87e41bf42ff2a37f7eb6d Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 24 Jun 2019 21:45:02 +0530 Subject: Fix #291 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index a9d2148..81fc3b1 100644 --- a/README.md +++ b/README.md @@ -204,6 +204,7 @@ Option completion scripts for Bash, Fish and Zsh can be found in respective subd | `NNN_BMS='d:~/Documents;D:~/Docs archive/'` | specify bookmarks (max 10) | | `NNN_USE_EDITOR=1` | open text files in `$VISUAL` (else `$EDITOR`, fallback vi) | | `NNN_CONTEXT_COLORS='1234'` | specify per context color [default: '4444' (all blue)] | +| `NNN_SSHFS_OPTS='sshfs -o reconnect,idmap=user'` | specify SSHFS options | | `NNN_NOTE=/home/user/Dropbox/notes` | path to note file [default: none] | | `NNN_OPENER=mimeopen` | custom file opener | | `NNN_IDLE_TIMEOUT=300` | idle seconds before locking terminal [default: disabled] | @@ -399,6 +400,12 @@ Host phone The above host `phone` will be mounted at `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/phone`. `nnn` creates the directory `phone` if it doesn't exist. +If you need to pass options to the `sshfs` command, you can do so: + + export NNN_SSHFS_OPTS='sshfs -o reconnect,idmap=user,cache_timeout=3600' + +The options must be preceded by `sshfs` and comma-separated without any space between them. + Notes: 1. `nnn` takes you to the mount point after successful mounts. To jump back to the last directory, press the usual -. -- cgit v1.2.3-70-g09d2