Various updates to sh shortcuts

direnv commands
terraform commands
tmux clipboard hack
a better editor detector
This commit is contained in:
Gal Szkolnik 2022-07-11 17:59:11 -04:00
parent 4c40b724c8
commit 8238a75408
4 changed files with 101 additions and 1 deletions

View file

@ -0,0 +1,9 @@
if [[ -n "$(which-command direnv)" ]]; then
function _env() {
if [[ -z "$_DIRENV_ShowEnvLogic" ]]; then
echo "_DIRENV_ShowEnvLogic is not defined."
else
eval "$_DIRENV_ShowEnvLogic" | LC_ALL=C sort -h
fi
}
fi