dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone git://edryd.org/dotfiles
Log | Files | Refs

commit b7772726254b9349b99476ea3da845422a4fccf5
parent ca7f7b1a0a4d6ea5f617d19cf61f1799c905c196
Author: Ed van Bruggen <edvb54@gmail.com>
Date:   Thu,  4 Sep 2014 17:27:01 -0700

Bin: Improve `ed` file

Diffstat:
bin/ed | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/ed b/bin/ed @@ -12,8 +12,8 @@ if [ "$EDITOR" = "" ]; then echo "Temporary setting EDITOR to $EDITOR" fi -if [ "$1" = "" ]; then +if [[ "$@" == "" ]]; then $EDITOR . else - $EDITOR $1 + $EDITOR $@ fi