aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-12-11 10:23:02 +0900
committernsfisis <nsfisis@gmail.com>2022-12-11 10:23:02 +0900
commit1c83265cc8d6f0cb98fc9e3c7c8c6660426a06ed (patch)
treeaf0759f8b3427fc33c05eb36848b6bbd112a6f79
parent1998b04a4da3b0200766053022d97b5e2b03c656 (diff)
downloaddotfiles-1c83265cc8d6f0cb98fc9e3c7c8c6660426a06ed.tar.gz
dotfiles-1c83265cc8d6f0cb98fc9e3c7c8c6660426a06ed.tar.zst
dotfiles-1c83265cc8d6f0cb98fc9e3c7c8c6660426a06ed.zip
zsh: set $BROWSER
-rw-r--r--.zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 25512c5..7c3e95a 100644
--- a/.zshrc
+++ b/.zshrc
@@ -3,6 +3,12 @@ export LANG=ja_JP.UTF-8
export VISUAL=nvim
export EDITOR=nvim
+if type open >/dev/null 2>&1; then
+ export BROWSER=open
+elif type xdg-open >/dev/null 2>&1; then
+ export BROWSER=xdg-open
+fi
+
export LSCOLORS=exfxcxdxbxegedabagacad
export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30'