aboutsummaryrefslogtreecommitdiff
path: root/runcoms
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2022-04-15 11:09:03 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2022-04-15 11:09:03 +0200
commit62cd2be5faf5d6523656b4245d1790c99fb5af9f (patch)
treeda4921f573168545c7821dcd4f955c07472d1d13 /runcoms
parentc67dd2dbe9732ad91b8ec844eee3b7daa5c98ad4 (diff)
parent27561e82e7e8c73ef73d9d25e66b677b71106108 (diff)
Merge branch 'main' of gitlab.com:rbdr/dotfiles
Diffstat (limited to 'runcoms')
-rw-r--r--runcoms/zshrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/runcoms/zshrc b/runcoms/zshrc
index 272938e..3166acf 100644
--- a/runcoms/zshrc
+++ b/runcoms/zshrc
@@ -6,6 +6,7 @@ source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/dotenv.zsh"
source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/graphviz.zsh"
source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/short-uptime.zsh"
source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/figlet-sample.zsh"
+source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/prettify-json.zsh"
################################################################################
# Load Modules
@@ -49,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
@@ -71,8 +74,6 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zshrc.local" ]]; then
source "${ZDOTDIR:-$HOME}/.zshrc.local"
fi
-eval $(/usr/libexec/path_helper -s)
-
if [[ -s "/opt/homebrew/bin/brew" ]]; then
export PATH=/opt/homebrew/bin:/opt/homebrew/sbin:$PATH
fi