commit 07fb7936c02ec04b496a7e34ab5456428c1ab063 parent 193b40149b5f99d25f10dcd9a750ad2e90ba6efb Author: Ed van Bruggen <edvb54@gmail.com> Date: Sun, 27 Sep 2015 21:49:25 -0700 Bin: If there are few files in the directory ed will now edit all of them Diffstat:
bin/ed | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/bin/ed b/bin/ed @@ -5,6 +5,8 @@ if [[ "$@" == "" ]]; then if [ -f .vim.sh ]; then ./.vim.sh + elif [[ "ls -l | wc -l" -le 5 ]]; then + $EDITOR * else $EDITOR . fi