Last active
May 3, 2024 00:03
-
-
Save euxn23/ada83be33e253aa0115757e6cb0876da to your computer and use it in GitHub Desktop.
.zshrc.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/urs/bin/env zsh | |
export EDITOR=nvim | |
export XDG_RUNTIME_DIR=/run/user/$(id -u) | |
# WSL | |
export BROWSER='pwsh.exe /c start' | |
alias chrome='/mnt/c/Program\ Files/Google/Chrome/Application/chrome.exe' | |
alias wezterm=wezterm.exe | |
alias wezterm-mux-server=wezterm-mux-server.exe | |
webstorm() { | |
/mnt/c/jetbrains/WebStorm/bin/webstorm64.exe $1 &>/dev/null & | |
} | |
open() { | |
if [[ $1 =~ ^https?:// ]]; then | |
xgd-open $1 | |
else | |
explorer.exe $1 | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment