From 0069c3f41385224504e5cdb58dd3b91d0c00ba1a Mon Sep 17 00:00:00 2001 From: Tri Vo Khac <33442340+vokhactri@users.noreply.github.com> Date: Sun, 21 May 2023 19:08:22 +0700 Subject: [PATCH] chore: change some settings --- zsh/.config/zsh/.zprofile | 4 ++-- zsh/.config/zsh/.zshrc | 5 ++--- zsh/.config/zsh/zsh-exports | 1 - 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/zsh/.config/zsh/.zprofile b/zsh/.config/zsh/.zprofile index d1de7ee..94df3fa 100644 --- a/zsh/.config/zsh/.zprofile +++ b/zsh/.config/zsh/.zprofile @@ -1,3 +1,3 @@ # Set PATH, MANPATH, etc., for Homebrew. -[ -x `command -v brew` ] && eval "$(/opt/homebrew/bin/brew shellenv)" -[ -x `command -v fnm` ] && eval "$(fnm env --use-on-cd)" +#eval "$(/opt/homebrew/bin/brew shellenv)" +eval "$(fnm env --use-on-cd)" diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 94dafb6..0b9e065 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -1,6 +1,6 @@ #!/bin/sh export ZDOTDIR=$HOME/.config/zsh -# HISTFILE=~/.zsh_history +HISTFILE=~/.zsh_history setopt appendhistory # some useful options (man zshoptions) @@ -11,6 +11,7 @@ zle_highlight=('paste:none') # beeping is annoying unsetopt BEEP +unsetopt PROMPT_SP # completions @@ -70,7 +71,5 @@ autoload edit-command-line; zle -N edit-command-line # Environment variables set everywhere export EDITOR="micro" -# export TERMINAL="kitty" -# export BROWSER="floorp" export PAGE="bat" export VISUAL="micro" diff --git a/zsh/.config/zsh/zsh-exports b/zsh/.config/zsh/zsh-exports index e00d014..c20fe85 100644 --- a/zsh/.config/zsh/zsh-exports +++ b/zsh/.config/zsh/zsh-exports @@ -4,6 +4,5 @@ HISTSIZE=1000000 SAVEHIST=1000000 export PATH="$HOME/.local/bin":$PATH export MANWIDTH=999 -export PATH="$PATH:$(yarn global bin)" eval "$(zoxide init zsh)"