diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/auto-completion/bash/nnn-completion.bash | 1 | ||||
-rw-r--r-- | misc/auto-completion/fish/nnn.fish | 1 | ||||
-rw-r--r-- | misc/auto-completion/zsh/_nnn | 1 | ||||
-rwxr-xr-x | misc/clipboard-copier/copier | 23 |
4 files changed, 3 insertions, 23 deletions
diff --git a/misc/auto-completion/bash/nnn-completion.bash b/misc/auto-completion/bash/nnn-completion.bash index bddf84f..00e34d5 100644 --- a/misc/auto-completion/bash/nnn-completion.bash +++ b/misc/auto-completion/bash/nnn-completion.bash @@ -31,6 +31,7 @@ _nnn () -S -t -v + -x -h ) if [[ $prev == -b ]]; then diff --git a/misc/auto-completion/fish/nnn.fish b/misc/auto-completion/fish/nnn.fish index 3613343..c1f2fac 100644 --- a/misc/auto-completion/fish/nnn.fish +++ b/misc/auto-completion/fish/nnn.fish @@ -30,4 +30,5 @@ complete -c nnn -s s -d 'use substring match for filters' complete -c nnn -s S -d 'start in disk usage analyzer mode' complete -c nnn -s t -d 'disable dir auto-select' complete -c nnn -s v -d 'show program version and exit' +complete -c nnn -s x -d 'notis, sel to system clipboard' complete -c nnn -s h -d 'show program help' diff --git a/misc/auto-completion/zsh/_nnn b/misc/auto-completion/zsh/_nnn index d5d5c1d..34db851 100644 --- a/misc/auto-completion/zsh/_nnn +++ b/misc/auto-completion/zsh/_nnn @@ -28,6 +28,7 @@ args=( '(-S)-S[start in disk usage analyzer mode]' '(-t)-t[disable dir auto-select]' '(-v)-v[show program version and exit]' + '(-x)-x[notis, sel to system clipboard]' '(-h)-h[show program help]' '*:filename:_files' ) diff --git a/misc/clipboard-copier/copier b/misc/clipboard-copier/copier deleted file mode 100755 index 6ac3ba6..0000000 --- a/misc/clipboard-copier/copier +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env sh - -# Description: Copy selection to clipboard -# -# Shell: POSIX compliant -# Author: Arun Prakash Jana - -SELECTION=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection - -# Linux -xargs -0 < "$SELECTION" | xsel -bi - -# macOS -# xargs -0 < "$SELECTION" | pbcopy - -# Termux -# xargs -0 < "$SELECTION" | termux-clipboard-set - -# Cygwin -# xargs -0 < "$SELECTION" | clip - -# Wayland -# xargs -0 < "$SELECTION" | wl-copy |