Various updates to sh shortcuts
direnv commands terraform commands tmux clipboard hack a better editor detector
This commit is contained in:
parent
4c40b724c8
commit
8238a75408
4 changed files with 101 additions and 1 deletions
9
_home/dot_sz.shrc.d/11_direnv.env
Normal file
9
_home/dot_sz.shrc.d/11_direnv.env
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue