wip
This commit is contained in:
parent
806c940c5b
commit
cb23abe6d0
@ -57,7 +57,6 @@ if [ "$system_type" = "Darwin" ]; then
|
||||
# Open iTerm from VS Code terminal
|
||||
# May refactor this to make the alias available in all non-iTerm terminals
|
||||
[ ! -v "$IN_VS_CODE_TERMINAL" ] && alias iterm="open -a iTerm"
|
||||
|
||||
fi
|
||||
|
||||
if [ -e ./aliases.local ]; then
|
||||
|
@ -10,6 +10,8 @@ export ZDOTDIR=${ZDOTDIR:-$HOME/.config/zsh}
|
||||
export ZPLUGINDIR=${ZPLUGINDIR:-${ZDOTDIR}/plugins}
|
||||
export NVM_DIR=$HOME/.nvm
|
||||
|
||||
[[ "$(command -v bat)" ]] && export PAGER="bat -p"
|
||||
|
||||
{% if yadm.os == "Darwin" %}
|
||||
export CLICOLOR=1
|
||||
export HOMEBREW_BUNDLE_DUMP_NO_VSCODE=1
|
||||
|
16
.zprofile
16
.zprofile
@ -1 +1,15 @@
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
system_type=$(uname -s)
|
||||
|
||||
# eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
|
||||
if [ "$system_type" = "Darwin" ]; then
|
||||
# Set up Homebrew
|
||||
local BREW=/opt/homebrew/bin/brew
|
||||
if [ -x $BREW ]; then
|
||||
eval "$($BREW shellenv)"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -e ~/.zprofile.local ]; then
|
||||
source ~/.zprofile.local
|
||||
fi
|
||||
|
2
.zprofile.local##class.Work
Normal file
2
.zprofile.local##class.Work
Normal file
@ -0,0 +1,2 @@
|
||||
# Set up 1Password Agent for SSH
|
||||
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
|
Loading…
x
Reference in New Issue
Block a user