Update zsh configs for env vars, etc
Security measures are in place to protect env vars that contain sensitive data.
This commit is contained in:
parent
4fcf4bc3c0
commit
aed6a9398a
2 changed files with 23 additions and 2 deletions
|
@ -1,14 +1,29 @@
|
|||
export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/opt/fzf/bin:$HOME/n/bin:$HOME/.cargo/bin
|
||||
|
||||
|
||||
# export the path this repository
|
||||
export PC_SETTINGS_PATH=$HOME/pc_settings
|
||||
|
||||
|
||||
# use emacs bindings (default) for terminal input
|
||||
set -o emacs
|
||||
|
||||
|
||||
# Configure default editor
|
||||
command -v nvim >/dev/null && \
|
||||
export EDITOR=nvim || \
|
||||
export EDITOR=vim
|
||||
|
||||
|
||||
# iex and erl shared interactive shell history
|
||||
export ERL_AFLAGS="-kernel shell_history enabled"
|
||||
|
||||
|
||||
# drone env variables
|
||||
export DRONE_SERVER="https://ci.urbinternal.com"
|
||||
export DRONE_TOKEN=$(<"${PC_SETTINGS_PATH}/configs/secrets/drone_token.txt")
|
||||
|
||||
|
||||
source $HOME/pc_settings/aliases.sh
|
||||
source $HOME/pc_settings/functions/index.sh
|
||||
source $HOME/pc_settings/scripts/setup_keybindings.sh
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export ZSH=/Users/wpcarro/.oh-my-zsh
|
||||
export ZSH=${HOME}/.oh-my-zsh
|
||||
|
||||
ZSH_THEME="spaceship"
|
||||
ZSH_THEME="refined"
|
||||
plugins=(tmux zsh-autosuggestions git git-extras github gitfast)
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
source ~/.zsh_profile
|
||||
|
@ -8,3 +8,9 @@ source ~/.zsh_profile
|
|||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
|
||||
export N_PREFIX="$HOME/n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PREFIX/bin" # Added by n-install (see http://git.io/n-install-repo).
|
||||
|
||||
# The next line updates PATH for the Google Cloud SDK.
|
||||
if [ -f '/Users/wpcarro/Downloads/google-cloud-sdk/path.zsh.inc' ]; then source '/Users/wpcarro/Downloads/google-cloud-sdk/path.zsh.inc'; fi
|
||||
|
||||
# The next line enables shell command completion for gcloud.
|
||||
if [ -f '/Users/wpcarro/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then source '/Users/wpcarro/Downloads/google-cloud-sdk/completion.zsh.inc'; fi
|
||||
|
|
Loading…
Reference in a new issue