Files
dotfiles/env/.config/zsh/functions/chmox

9 lines
134 B
Bash
Executable File

#!/bin/zsh
# makes files executable
function chmox() {
[ ! -f "$1" ] && echo "usage: chmox <file>" && return 1
chmod u+x "$1"
}