Skip to content

Commit

Permalink
[aliases] eval $EDITOR in case it may content env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
antonk52 committed Oct 18, 2023
1 parent 454c7df commit dd3edaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell-aliases
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function notes()
has_notes_window=$(tmux list-windows | grep notes)
[ "$has_notes_window" ] || tmux rename-window "notes"

$EDITOR "$FILE_PATH" -c "cd $NOTES_PATH" -c "NotesMode"
eval $EDITOR "$FILE_PATH" -c "cd $NOTES_PATH" -c "NotesMode"
}

alias colorlight="~/dot-files/scripts/base16-github.sh"
Expand Down

0 comments on commit dd3edaf

Please sign in to comment.