Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions shell/post.fish
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ if [ -t 1 ] && [ -z "$FIG_ENV_VAR" ] || [ -n "$TMUX" ]
# Check for prompts or onboarding.
if [ -s ~/.fig/tools/prompts.sh ]
bash ~/.fig/tools/prompts.sh
export FIG_CHECKED_PROMPTS=1
set -gx FIG_CHECKED_PROMPTS 1
end

export TTY=(tty)
export FIG_ENV_VAR=1
set -gx TTY tty
set -gx FIG_ENV_VAR 1
end

if [ -z "$FIG_SHELL_VAR" ]
Expand Down
4 changes: 2 additions & 2 deletions shell/pre.fish
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ if [ -d /Applications/Fig.app -o -d ~/Applications/Fig.app ] \
# explicitly set for VSCode and Hyper. This variable is inherited when
# new ttys are created using tmux and must be explictly overwritten.
if [ -z "$TERM_SESSION_ID" ] || [ -n "$TMUX" ] || [ "$TERM_PROGRAM" = vscode ]
export TERM_SESSION_ID=(uuidgen)
set -gx TERM_SESSION_ID uuidgen
end
export FIG_INTEGRATION_VERSION=4
set -gx FIG_INTEGRATION_VERSION 4

if command -v figterm 1>/dev/null 2>/dev/null
if [ -z "$FIG_TERM" ] || [ -z "$FIG_TERM_TMUX" -a -n "$TMUX" ]
Expand Down