Skip to content

Commit

Permalink
set EDITOR=code on codespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
izumin5210 committed Mar 19, 2024
1 parent be1d3e2 commit e422882
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/.config/zsh/legacy/exports.zsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
export LANG=en_US.UTF-8

export EDITOR=nvim
if [ "$CODESPACES" = "true" ]; then
export EDITOR="code --wait"
else
export EDITOR=nvim
fi
export TERM=xterm-256color

# ================================================================
Expand Down

0 comments on commit e422882

Please sign in to comment.