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,5 @@
if [[ -n "$(which-command tmux)" ]]; then
function clip-tmux() {
tmux save-buffer -a - | clip
}
fi