Skip to content

KDE/auto-chmod

Repository files navigation

auto-chmod

Replaces the cryptic "permission denied" error when running a non-executable file with a prompt asking if you want to make it executable and run it.

Building

cargo build --release

Setup

Add to your ~/.zshrc:

function auto_chmod() { /usr/lib/auto-chmod "$1" }
autoload -Uz add-zsh-hook
add-zsh-hook preexec auto_chmod

Translation

Run Messages.sh to generate the translation template.

About

Replaces the cryptic "permission denied" error when running a non-executable file with a prompt asking if you want to make it executable and run it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors