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
_home/dot_sz.shrc.d
|
@ -16,8 +16,10 @@ if [[ -r "$HOME/.config/_my.emacs/spacemacs/emacs.d/init.el" \
|
|||
&& -n "$(which-command emacs)" \
|
||||
&& -n "$(which-command edit-with-spacemacs)" \
|
||||
]]; then
|
||||
alias my_editor='edit-with-spacemacs'
|
||||
EDITOR=$(which-command edit-with-spacemacs | head -1)
|
||||
alias my_editor="$EDITOR "
|
||||
else
|
||||
EDITOR="$PREFERRED_VI"
|
||||
alias my_editor='my_vi'
|
||||
fi
|
||||
alias nvim="my_vi"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue