Skip to content

Commit

Permalink
Fix completion for >=zsh-5.3. Move files to subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed Jan 7, 2017
1 parent 3d55e69 commit 1aa108e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ The license of this package is the GNU Public License GPL-2.

A wrapper script to set PAX kernel variables to an insecure/safe state

To install this script, just copy paxopen into root's $PATH.
To obtain support for zsh completion, copy _paxopen to zsh's $fpath.
To install this script, just copy bin/* into root's $PATH.
To obtain support for zsh completion, copy zsh/* to zsh's $fpath.

For Gentoo, there is an ebuild in the mv overlay.
2 changes: 1 addition & 1 deletion paxopen → bin/paxopen
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Warn() {
}

Version() {
Echo 'paxopen 1.1'
Echo 'paxopen 1.2'
exit
}

Expand Down
2 changes: 1 addition & 1 deletion _paxopen → zsh/_paxopen
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ case $state in
'show:show current state'
'help:print help'
)
_describe -t commands 'command' cmds
_describe -t commands 'command' cmds && ret=0;;
esac
return ret

0 comments on commit 1aa108e

Please sign in to comment.