From 50c735df582a885282c52c12e9b6315bf6cc0691 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Fri, 20 Sep 2024 00:26:18 +0500 Subject: zsh: Update aliases --- files/.zsh/rc/S50_nnn | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'files/.zsh/rc/S50_nnn') diff --git a/files/.zsh/rc/S50_nnn b/files/.zsh/rc/S50_nnn index a6fb43f..05eaf3b 100644 --- a/files/.zsh/rc/S50_nnn +++ b/files/.zsh/rc/S50_nnn @@ -62,6 +62,14 @@ n () } } +nsel() { + local selection + selection="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection" + if [ -f "$selection" ] ; then + tr '\0' '\n' < "$selection" + fi +} + export NNN_PLUG NNN_ARCHIVE NNN_FCOLORS NNN_OPTS NNN_TRASH # vim: ft=zsh : -- cgit v1.2.3