Commits

Ryan Wilcox committed 0278979

bb now uses zsh, zsh string existance check

Comments (0)

Files changed (1)

-#!/bin/sh
+#!/usr/bin/env zsh
 
 # Information for this script comes from:
 # <http://superuser.com/questions/383124/knowing-user-is-sshing-in-from-a-shell-script>
 
-if [[ $SSH_CONNECTION ]]
+if [[ -n $SSH_CONNECTION ]]
 then
   vim "$@"
 else