0.2.5 • Published 7 years ago
ahd v0.2.5
Apache Header Helper
Helper you configure Apache headers
Installation
$ sudo npm install -g ahd
$ sudo ahd init
Update
$ sudo npm outdated -g ahd # check version
$ sudo npm install -g ahd
Usage
$ ahd -e wicksome # enable
$ ahd -d wicksome # disable
$ ahd -d .+@.+ # Interpret pattern as an extended regular expression
Recommand
in bachrc or bash_profile
alias ahd="sudo ahd"
using fzf
$ ahd -eo **<TAB>
add source to .bash_profile
_fzf_complete_ahd() {
_fzf_complete "--multi --reverse" "$@" < <(
ls ~/.ahd
)
}
[ -n "$BASH" ] && complete -F _fzf_complete_ahd -o default -o bashdefault ahd