chore: workaround for vscode terminal

This commit is contained in:
Tri Vo Khac committed 2023-05-24 15:43:15 +07:00
1 parent 37573e8cc9
commit 160b62ce72
1 file changed
+4
+4
View File
@@ -1,5 +1,9 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
# workaround for vscode terminal
[[ -z "${XDG_CONFIG_HOME}" ]] && export XDG_CONFIG_HOME="${HOME}/.config"
[[ -z "${ZDOTDIR}" ]] && export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
# some useful options (man zshoptions) # some useful options (man zshoptions)
setopt autocd extendedglob nomatch menucomplete setopt autocd extendedglob nomatch menucomplete
setopt interactive_comments setopt interactive_comments