From 007d874f46cababfb8cc787c3a37b3cc159ecf66 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 29 Aug 2022 11:54:57 +0300 Subject: [PATCH] Added fig --- bash_profile | 5 +++++ bashrc | 5 +++++ zshrc | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/bash_profile b/bash_profile index 7fa669f..d63a3e0 100644 --- a/bash_profile +++ b/bash_profile @@ -1,3 +1,8 @@ +# Fig pre block. Keep at the top of this file. +[[ -f "$HOME/.fig/shell/bash_profile.pre.bash" ]] && . "$HOME/.fig/shell/bash_profile.pre.bash" # shellcheck shell=bash export PATH="$HOME/.local/bin:/usr/local/sbin:$PATH" + +# Fig post block. Keep at the bottom of this file. +[[ -f "$HOME/.fig/shell/bash_profile.post.bash" ]] && . "$HOME/.fig/shell/bash_profile.post.bash" diff --git a/bashrc b/bashrc index a64fe05..2b21483 100644 --- a/bashrc +++ b/bashrc @@ -1,3 +1,5 @@ +# Fig pre block. Keep at the top of this file. +[[ -f "$HOME/.fig/shell/bashrc.pre.bash" ]] && . "$HOME/.fig/shell/bashrc.pre.bash" # shellcheck shell=bash PHP_PATH=$(brew --prefix php)/bin @@ -7,3 +9,6 @@ export PATH="$PHP_PATH:$HOME/.composer/vendor/bin/:/usr/local/opt/ruby/bin:/usr/ export NVM_DIR="$HOME/.nvm" [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm [ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion + +# Fig post block. Keep at the bottom of this file. +[[ -f "$HOME/.fig/shell/bashrc.post.bash" ]] && . "$HOME/.fig/shell/bashrc.post.bash" diff --git a/zshrc b/zshrc index c51d284..0b5f30e 100644 --- a/zshrc +++ b/zshrc @@ -1,3 +1,5 @@ +# Fig pre block. Keep at the top of this file. +[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && . "$HOME/.fig/shell/zshrc.pre.zsh" # shellcheck shell=bash LOCAL_BIN="$HOME/.local/bin" @@ -64,3 +66,6 @@ GCLOUD_INSTALL_LOCATION=$(gcloud info --format="value(installation.sdk_root)" -- source "$GCLOUD_INSTALL_LOCATION/path.zsh.inc" source "$GCLOUD_INSTALL_LOCATION/completion.zsh.inc" source "$(brew --prefix z)/etc/profile.d/z.sh" + +# Fig post block. Keep at the bottom of this file. +[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && . "$HOME/.fig/shell/zshrc.post.zsh"