dotfiles

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

commit a9085423569c234baf1b75e90c2dc0a0103923b1
parent 3cc29fcd5870be7a9c4794fc6f325f1ead544d9e
Author: Ed van Bruggen <edvb54@gmail.com>
Date:   Fri,  2 Oct 2015 22:03:26 -0700

Bin: Rename edium.sh to ED.sh

Diffstat:
bashrc | 2+-
bin/ED.sh | 16++++++++++++++++
bin/edium.sh | 16----------------
3 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/bashrc b/bashrc @@ -82,7 +82,7 @@ fi # [[ -z "$TMUX" ]] && exec tmux -2 # load other files -source ~/dotfiles/bin/edium.sh +source ~/dotfiles/bin/ED.sh source ~/dotfiles/bin/checkium.sh source ~/dotfiles/bin/colors.sh source ~/dotfiles/bin/git-prompt.sh diff --git a/bin/ED.sh b/bin/ED.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +# ED: Rotate between EDITORs +ED() { + local EDITOR_new + if [[ $EDITOR == "vim" ]]; then + EDITOR_new="emacs" + elif [[ $EDITOR == "emacs" ]]; then + EDITOR_new="vim" + fi + + echo "Setting EDITOR to $EDITOR_new" + EDITOR=$EDITOR_new + echo "EDITOR is now $EDITOR" +} + diff --git a/bin/edium.sh b/bin/edium.sh @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -# ED: Rotate between EDITORs -ED() { - local EDITOR_new - if [[ $EDITOR == "vim" ]]; then - EDITOR_new="emacs" - elif [[ $EDITOR == "emacs" ]]; then - EDITOR_new="vim" - fi - - echo "Setting EDITOR to $EDITOR_new" - EDITOR=$EDITOR_new - echo "EDITOR is now $EDITOR" -} -