update browser function/alias
This commit is contained in:
parent
b3f9445276
commit
7a1b53baaa
2 changed files with 6 additions and 2 deletions
|
@ -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"
|
||||
##########################################
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# env variables
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue