From 26b1a794ccbf141066e1a6c7ea993d4bcdbe792f Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Wed, 6 Nov 2024 16:07:52 -0600 Subject: sbell formatting Signed-off-by: Matt Strapp --- dot_config/zsh/dot_zshenv | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dot_config/zsh') diff --git a/dot_config/zsh/dot_zshenv b/dot_config/zsh/dot_zshenv index 95166ee..cf04d34 100644 --- a/dot_config/zsh/dot_zshenv +++ b/dot_config/zsh/dot_zshenv @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/bin/bash # profile file. Runs on login. Environmental variables are set here. # If you don't plan on reverting to bash, you can remove the link in ~/.profile @@ -9,13 +9,15 @@ export FPATH="$FPATH:${XDG_DATA_HOME:-$HOME/.local/share/zsh/site-functions}" unsetopt PROMPT_SP # Default programs for SSH or not -if [ -n "$SSH_CLIENT"] || [ -n "$SSH_TTY" ]; then +if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then export BROWSER="chromium" + # shellcheck disable=SC2015 [ -n "$DISPLAY" ] && export EDITOR="code -nw" || export EDITOR="nvim +star" else export BROWSER="w3m" export EDITOR="nvim +star" fi + export VISUAL="$EDITOR" # ~/ Clean-up (XDG): -- cgit v1.2.3