diff options
| author | Anton Bobov <anton@bobov.name> | 2026-08-20 15:13:47 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2026-08-20 15:13:47 +0500 |
| commit | 153c9344e93662984b1a5368a2722c10117db830 (patch) | |
| tree | 46b44af16387c815ab6c783415ee7dc1b8287a5c /files/.config/nnn/plugins/getplugs | |
| parent | ccbc3e18f711c39482e9ed6045ed99b4da889a59 (diff) | |
nnn: update plugins
Diffstat (limited to 'files/.config/nnn/plugins/getplugs')
| -rwxr-xr-x | files/.config/nnn/plugins/getplugs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/.config/nnn/plugins/getplugs b/files/.config/nnn/plugins/getplugs index 361a605..30dbf7b 100755 --- a/files/.config/nnn/plugins/getplugs +++ b/files/.config/nnn/plugins/getplugs @@ -24,7 +24,7 @@ prompt () { if [ "$operation" = "m" ]; then op="merge" elif [ "$operation" = "o" ]; then - op="cp -vRf" + op="cp -vRf --" else op="true" fi @@ -62,7 +62,7 @@ for f in $(find . -maxdepth 1 \( ! -iname "." ! -iname "*.md" \)); do $op "$f" ../../plugins/ fi else - cp -vRf "$f" ../../plugins/ + cp -vRf -- "$f" ../../plugins/ fi done cd ../.. || exit 1 |
