My build of nnn with minor changes
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
242 B

  1. #!/usr/bin/env sh
  2. # Description: Toggle executable status of hovered file
  3. #
  4. # Shell: POSIX compliant
  5. # Author: Arun Prakash Jana
  6. if ! [ -z "$1" ]; then
  7. if [ -x "$1" ]; then
  8. chmod -x "$1"
  9. else
  10. chmod +x "$1"
  11. fi
  12. fi