My build of nnn with minor changes
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

15 linhas
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