Commit 5319621b by Fred Smith

add setenv command

parent 979143cc
#! /usr/bin/env bash
if which pass &> /dev/null; then
function setenv {
source <(pass env/$1)
echo "Env set to $1"
complete -W "$(pass ls env/ | awk '{print $2}')" setenv
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment