diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 7928def..3e83995 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -32,6 +32,12 @@ if test -d $HOME/Library/Python/3.10/bin set PATH $PATH $HOME/Library/Python/3.10/bin end +if test -n "$CODER_WORKSPACE_ID" + if test -z "$BROWSER" + set -x BROWSER "fwd-browse" + end +end + if [ -n "$INSIDE_EMACS" ] # This is here to make emacs and ansi-term work properly; I'm not *quite* # sure what it does but it's probably cool. @@ -39,8 +45,8 @@ if [ -n "$INSIDE_EMACS" ] true end - # emacs dir tracking - function prompt_AnSiT -e fish_prompt + # emacs dir tracking + function prompt_AnSiT -e fish_prompt printf "\eAnSiTc %s\n" "$PWD" end printf "\eAnSiTu %s\n" "$USER"