node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

ahd

Apache Header Helper

Build Status npm version

Helper you configure Apache headers

help

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