Files
dotfiles/bash.d/10-dotenv.sh

6 lines
76 B
Bash

#!/bin/bash
function dotenv {
export "$(grep -E -v '^#' .env | xargs)"
}