BlinkenArea - GitList
Repositories
Blog
Wiki
permissioner
Code
Commits
Branches
Tags
Search
Tree:
16dd948
Branches
Tags
master
permissioner
exports
begin of permissioner config parsing
Stefan Schuermans
commited
16dd948
at 2020-08-16 16:14:27
exports
Blame
History
Raw
if [[ -v BASH_VERSION ]] then export PERMISSIONER_HOME="$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")" elif [[ -v ZSH_VERSION ]] then export PERMISSIONER_HOME="$(readlink -f "$(dirname "${(%):-%x}")")" else echo "Unsupported shell, only bash and zsh are supported." >&2 return 2 fi export PATH="$PERMISSIONER_HOME/bin${PATH:+:${PATH}}"