From 7356eac3a7fd13876a7cee321a5ec9545a91bbdb Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Sun, 7 May 2017 11:58:39 -0400 Subject: [PATCH] updates fish and zsh stuff for new brew, keychain, etc. changens to fish shell in emacs multi-term --- .gitignore | 1 + config.fish | 2 +- spacemacs | 2 +- zshrc | 4 ---- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index c112901..7fff80d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ # Vim vim/.netrwhist vim/plugged/* +node_modules diff --git a/config.fish b/config.fish index 7a8f278..4ca93ae 100644 --- a/config.fish +++ b/config.fish @@ -40,7 +40,7 @@ set -x PATH $HOME/.npm-packages/bin $PATH if status --is-interactive # TODO Take this out when keychain fixes this bug set -x GPG_AGENT_INFO "~/.gnupg/S.gpg-agent:"(pgrep gpg-agent)":1" - eval (keychain --eval --inherit any --agents gpg,ssh --quiet id_rsa 2B3A6377) + keychain --eval --inherit any --agents gpg,ssh --quiet id_rsa 2B3A6377 | source end # iTerm2 diff --git a/spacemacs b/spacemacs index 7cf01b4..097c775 100644 --- a/spacemacs +++ b/spacemacs @@ -64,7 +64,7 @@ values." (org :variables org-enable-github-support t) deft ;; (shell :variables shell-default-term-shell "/Users/dustinswan/.nix-profile/bin/zsh") - (shell :variables shell-default-term-shell "/usr/local/bin/zsh" shell-default-shell 'multi-term) + (shell :variables shell-default-term-shell "/usr/local/bin/fish" shell-default-shell 'multi-term) xkcd spotify finance diff --git a/zshrc b/zshrc index 597b360..dfc25f6 100644 --- a/zshrc +++ b/zshrc @@ -57,10 +57,6 @@ if [ -x "$(command -v keychain)" ]; then eval `keychain --eval --inherit any --agents gpg,ssh --quiet id_rsa 2B3A6377` fi -# Homebrew Github Token -[ -x "$(command -v brew)" ] && alias brew='[[ $HOMEBREW_GITHUB_API_TOKEN ]] || export HOMEBREW_GITHUB_API_TOKEN=`gpg -d ~/.homebrew@github-password.gpg`; brew' -[ -x "$(command -v carthage)" ] && alias carthage='[[ $HOMEBREW_GITHUB_API_TOKEN ]] || export HOMEBREW_GITHUB_API_TOKEN=`gpg -d ~/.homebrew@github-password.gpg`; carthage' - # FZF [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh