This commit is contained in:
Marc Beninca 2023-10-01 19:59:50 +02:00
parent 39e1a9b927
commit cf876c72d8
12 changed files with 64 additions and 68 deletions

View file

@ -22,6 +22,7 @@ function env_apply {
}
function env_init {
set_init
env_set
env_mod
env_apply
@ -34,13 +35,13 @@ function env_list {
}
function env_mod {
env_mod='?'
env_mod='---'
if [ -f "${env}" ] ; then
env_mod='-'
env_mod='--x'
if env 'load' ; then
env_mod='r'
env_mod='r-x'
if env 'save' ; then
env_mod='w'
env_mod='rwx'
fi
fi
fi