aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/chmodx
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-02 23:13:56 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-02 23:36:08 +0530
commitc92c5c7b1576dd3ab13c055ed399ad0f09d74bbc (patch)
treeca7323488eb18be71f0d9af814e6ad23e1febbec /plugins/chmodx
parente1c91e1aefc1a20e738fc1b4d5b2a612ff959ffd (diff)
downloadnnn-c92c5c7b1576dd3ab13c055ed399ad0f09d74bbc.tar.gz
Support toggle exe
Diffstat (limited to 'plugins/chmodx')
-rwxr-xr-xplugins/chmodx14
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/chmodx b/plugins/chmodx
deleted file mode 100755
index 1ad8467..0000000
--- a/plugins/chmodx
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env sh
-
-# Description: Toggle executable status of hovered file
-#
-# Shell: POSIX compliant
-# Author: Arun Prakash Jana
-
-if ! [ -z "$1" ]; then
- if [ -x "$1" ]; then
- chmod -x "$1"
- else
- chmod +x "$1"
- fi
-fi