mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-16 07:26:51 +00:00
Set default editor to Helix in .zshrc and set default browser to Google Chrome Stable in .zsh/env.zsh
This commit is contained in:
parent
2e67569618
commit
edc0a6ec12
2 changed files with 12 additions and 3 deletions
|
@ -6,5 +6,3 @@ export devTools=""
|
|||
|
||||
# Uncomment if u want this env (default: $HOME/.local/npm"):
|
||||
# export NPM_CONFIG_PREFIX=""
|
||||
|
||||
#export BROWSER="google-chrome-stable"
|
13
.zshrc
13
.zshrc
|
@ -26,7 +26,18 @@ setopt hist_ignore_dups # ignore duplicated commands history list
|
|||
setopt hist_ignore_space # ignore commands that start with space
|
||||
setopt hist_verify # show command with history expansion to user before running it
|
||||
|
||||
export EDITOR=nvim
|
||||
if iscmd helix; then
|
||||
export EDITOR=helix
|
||||
elif iscmd nvim; then
|
||||
export EDITOR=nvim
|
||||
else
|
||||
export EDITOR=vim
|
||||
fi
|
||||
|
||||
if iscmd google-chrome-stable; then
|
||||
export BROWSER=google-chrome-stable
|
||||
fi
|
||||
|
||||
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
|
||||
|
||||
for f in $OTHER/*.zsh; do
|
||||
|
|
Loading…
Add table
Reference in a new issue