From 27561e82e7e8c73ef73d9d25e66b677b71106108 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 13 Apr 2022 17:07:38 +0200 Subject: Add exa, add fzf fuzzy search --- runcoms/zshrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runcoms') diff --git a/runcoms/zshrc b/runcoms/zshrc index cf1c248..3166acf 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -50,6 +50,8 @@ export VIRTUALENVWRAPPER_PYTHON="/usr/local/bin/python3" export GPG_TTY=$(tty) # FZF Config +[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh + export FZF_DEFAULT_COMMAND='/usr/bin/env rg --color never --files --hidden -g \!.git' export FZF_DEFAULT_OPTS='--preview ''bat --style=numbers --color=always {} | head -500''' if [[ -s "/opt/homebrew/bin/brew" ]]; then -- cgit From 086f96e45c174eaf53a2cbae7d60554a66e44c74 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Fri, 15 Apr 2022 11:09:55 +0200 Subject: Add M1 z config --- runcoms/zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'runcoms') diff --git a/runcoms/zshrc b/runcoms/zshrc index 3166acf..98b5967 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -43,7 +43,7 @@ export VISUAL="nvim" # Python related variables export VIRTUAL_ENV_DISABLE_PROMPT=1 export WORKON_HOME=$HOME/.virtualenvs -export PROJECT_HOME=$HOME/Projects +export PROJECT_HOME=$HOME/Documents/projects export VIRTUALENVWRAPPER_PYTHON="/usr/local/bin/python3" # GPG @@ -79,10 +79,10 @@ if [[ -s "/opt/homebrew/bin/brew" ]]; then fi # Z -if ! command -v brew &> /dev/null; then - . /usr/local/etc/profile.d/z.sh -else +if [[ -s "/opt/homebrew/bin/brew" ]]; then . /opt/homebrew/etc/profile.d/z.sh +else + . /usr/local/etc/profile.d/z.sh fi # ASDF -- cgit