Some fish stuff
This commit is contained in:
parent
5462881781
commit
ea00dfb8a5
2 changed files with 12 additions and 10 deletions
20
config.fish
20
config.fish
|
|
@ -30,18 +30,18 @@ if command --search p4 >/dev/null
|
||||||
end
|
end
|
||||||
|
|
||||||
# PATH
|
# PATH
|
||||||
set -x PATH $HOME/dotfiles/bin $PATH
|
test -e $HOME/dotfiles/bin ; and set -x PATH $HOME/dotfiles/bin $PATH
|
||||||
# set -x PATH $HOME/.local/bin $PATH
|
test -e $HOME/.local/bin ; and set -x PATH $HOME/.local/bin $PATH
|
||||||
set -x PATH $HOME/.npm-packages/bin $PATH
|
test -e $HOME/.npm-packeges/bin ; and set -x PATH $HOME/.npm-packages/bin $PATH
|
||||||
# set -x PATH /usr/local/opt/python/libexec/bin $PATH
|
test -e /usr/local/opt/python/libexec/bin ; and set -x PATH /usr/local/opt/python/libexec/bin $PATH
|
||||||
set -x PATH $HOME/.cargo/bin $PATH
|
test -e $HOME/.cargo/bin ; and set -x PATH $HOME/.cargo/bin $PATH
|
||||||
|
|
||||||
# Keychain
|
# Keychain
|
||||||
if status --is-interactive
|
# if status --is-interactive
|
||||||
# TODO Take this out when keychain fixes this bug
|
# TODO Take this out when keychain fixes this bug
|
||||||
set -x GPG_AGENT_INFO "~/.gnupg/S.gpg-agent:"(pgrep gpg-agent)":1"
|
# set -x GPG_AGENT_INFO "~/.gnupg/S.gpg-agent:"(pgrep gpg-agent)":1"
|
||||||
keychain --eval --inherit any --agents gpg,ssh --quiet id_rsa 2B3A6377 | source
|
# keychain --eval --inherit any --agents gpg,ssh --quiet id_rsa 2B3A6377 | source
|
||||||
end
|
# end
|
||||||
|
|
||||||
# iTerm2
|
# iTerm2
|
||||||
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
|
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
|
||||||
|
|
@ -57,3 +57,5 @@ end
|
||||||
if test -n "$EMACS"
|
if test -n "$EMACS"
|
||||||
set -x TERM eterm-color
|
set -x TERM eterm-color
|
||||||
end
|
end
|
||||||
|
|
||||||
|
set fish_greeting ""
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# ln -sf ~/dotfiles/zshrc ~/.zshrc
|
# ln -sf ~/dotfiles/zshrc ~/.zshrc
|
||||||
mkdir -p ~/.config/fish; ln -sf ~/dotfiles/config.fish ~/.config/fish/config.fish
|
mkdir -p ~/.config/fish; ln -sf ~/dotfiles/config.fish ~/.config/fish/config.fish
|
||||||
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisher
|
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisher
|
||||||
ln -s ~/dotfiles/fishfile ~/.config/fish/fishfile
|
ln -sf ~/dotfiles/fishfile ~/.config/fish/fishfile
|
||||||
mkdir ~/.ghc; ln -sf ~/dotfiles/ghci.conf ~/.ghc/ghci.conf
|
mkdir ~/.ghc; ln -sf ~/dotfiles/ghci.conf ~/.ghc/ghci.conf
|
||||||
ln -sf ~/dotfiles/gitconfig ~/.gitconfig
|
ln -sf ~/dotfiles/gitconfig ~/.gitconfig
|
||||||
ln -sf ~/dotfiles/tmux.conf ~/.tmux.conf
|
ln -sf ~/dotfiles/tmux.conf ~/.tmux.conf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue