From 2e18d76700dd3be218f7367ce8ae92a2f48de303 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 7 Oct 2020 19:29:49 -0400 Subject: [PATCH] tidy up config.fish --- fish/.config/fish/config.fish | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 5c1cbc6..c8dc3df 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -1,23 +1,14 @@ -status --is-login; and status --is-interactive; and exec byobu-launcher - -if type -q nvim > /dev/null - set -xg EDITOR nvim -else - set -xg EDITOR vim -end +status --is-login && status --is-interactive && exec byobu-launcher +set -xg EDITOR vim set -xg TZ 'America/Detroit' if test -d ~/Maildir set -x MAIL ~/Maildir end -if test -d /usr/local/go - set -x GOPATH (/usr/local/go/bin/go env GOPATH) -end - -for i in ~/bin /usr/local/go/bin ~/.yarn/bin $GOPATH/bin ~/.local/bin ~/.cargo/bin /snap/bin ~/.fzf/bin - if test -d $i; and not contains $i $PATH +for i in ~/bin ~/.yarn/bin ~/.local/bin ~/.cargo/bin + if test -d $i && not contains $i $PATH set -x fish_user_paths $fish_user_paths $i end end