From 3695e6c78ab845ceebf327c69c8a1701eaeb9d70 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Thu, 6 Nov 2025 17:37:52 +0100 Subject: [PATCH] feat(zsh): remove unnecesary function. --- .../home-manager/configs/zsh-functions.zsh | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/modules/cross-platform/home-manager/configs/zsh-functions.zsh b/modules/cross-platform/home-manager/configs/zsh-functions.zsh index ba39a87..119bdb9 100644 --- a/modules/cross-platform/home-manager/configs/zsh-functions.zsh +++ b/modules/cross-platform/home-manager/configs/zsh-functions.zsh @@ -18,25 +18,6 @@ mvln () { ln -s $to $from } -# nnn -n () { - # Block nesting of nnn in subshells - [ "${NNNLVL:-0}" -eq 0 ] || { - echo "nnn is already running" - return - } - - # Tempfile location - NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd" - - nnn "$@" - - [ ! -f "$NNN_TMPFILE" ] || { - . "$NNN_TMPFILE" - rm -f "$NNN_TMPFILE" > /dev/null - } -} - # upfast upfast () { curl -F "file=@$(readlink -f $1)" "https://upfast.cronyakatsuki.xyz/"