npm.io
0.2.5 • Published 9 years agoCLI

ahd

Licence
ISC
Version
0.2.5
Deps
13
Vulns
0
Weekly
0
Stars
1

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

Keywords