dotfiles

Personal dotfiles.
Log | Files | Refs | LICENSE

commit ae0765c101b7f95821ffb1010b64b1593a8f805d
parent 0fd7a33c4f987353a5fc9a61ec84dadc76754909
Author: Arne Swanson <nownpl@0111.click>
Date:   Wed, 15 Aug 2018 22:13:05 -0300

Added portable editor definition.

Diffstat:
zsh/.zshenv | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/zsh/.zshenv b/zsh/.zshenv @@ -2,4 +2,10 @@ export LANG=en_US.UTF-8 export ARCHFLAGS="-arch x86_64" export SSH_KEY_PATH="~/.ssh/id_rsa" export ABDUCO_CMD=dvtm -export EDITOR="nano"- \ No newline at end of file +command_loc="$(command -v "subl" 2> /dev/null)" +if [ ! -z "$command_loc" ]; then + export EDITOR="subl -w" +else + export EDITOR="nano" +fi +export AUDIODRIVER=alsa+ \ No newline at end of file