#!/bin/sh

# Editing

if [[ ! "$SSH_TTY" ]] && is_osx; then
  export EDITOR='subl'
else
  export EDITOR='vim'
fi

export VISUAL="$EDITOR"
alias q="$EDITOR"
alias qs="q $DOTFILES"

#!/bin/sh

# Editing

if [[ ! "$SSH_TTY" ]] && is_osx; then
  export EDITOR='subl -n -w'
else
  export EDITOR='vim'
fi

export VISUAL="$EDITOR"
alias q="$EDITOR"
alias qs="q $DOTFILES"

Fix Sublime not waiting for commit messages
Fix Sublime not waiting for commit messages

Signed-off-by: Gunnar Wagenknecht <79778dbbdd172ad4142b370229409ecedf95bcb5@wagenknecht.org>
