update browser function/alias

This commit is contained in:
Daylin Morgan 2022-01-04 10:42:33 -06:00
parent b3f9445276
commit 7a1b53baaa
2 changed files with 6 additions and 2 deletions

View file

@ -46,4 +46,5 @@ is-executable nvim && alias vim=nvim
is-executable gdu && alias gdu -I '.*node_modules' -H
# more fzf
alias fzf-bat="fzf --preview 'bat --style=numbers --color=always --line-range :500 {}'"
alias vivaldi="vivaldi-stable"
##########################################

View file

@ -1,6 +1,9 @@
# env variables
export BROWSER=/mnt/c/Users/daylin/AppData/Local/Vivaldi/Application/vivaldi.exe
if ! [ $(cat /etc/hostname)=="thinkpad" ];then
export BROWSER=/mnt/c/Users/daylin/AppData/Local/Vivaldi/Application/vivaldi.exe
else
export BROWSER=vivaldi-stable
fi
# aliases
alias files=explorer.exe