# initialize rbenv
if test -d ~/.rbenv/shims
  if test -d ~/.rbenv/bin
    set PATH ~/.rbenv/bin $PATH
  end

  status --is-interactive; and source (rbenv init - --no-rehash|psub)
end

# initialize nodenv
if test -d ~/.nodenv/shims
  if test -d ~/.nodenv/bin
    set PATH ~/.nodenv/bin $PATH
  end

  status --is-interactive; and source (nodenv init - --no-rehash|psub)
end

function fixssh
  tmux setenv SSH_AUTH_SOCK $SSH_AUTH_SOCK
end

# initialize rbenv
if test -d ~/.rbenv/shims
  if test -d ~/.rbenv/bin
    set PATH ~/.rbenv/bin $PATH
  end

  status --is-interactive; and source (rbenv init - --no-rehash|psub)
end

# initialize nodenv
if test -d ~/.nodenv/shims
  if test -d ~/.nodenv/bin
    set PATH ~/.nodenv/bin $PATH
  end

  status --is-interactive; and source (nodenv init - --no-rehash|psub)
end

# add camp binaries to path
if test -d /home/camp/bin
  set PATH /home/camp/bin $PATH
end

# add locally-installed binaries to path
if test -d ~/bin
  set PATH ~/bin $PATH
end

# configure fzf to use pt if available
if type -q pt
  set FZF_DEFAULT_COMMAND 'pt -g ""'
end

# define function for fixing ssh issues in tmux sessions
function fixssh
  tmux setenv SSH_AUTH_SOCK $SSH_AUTH_SOCK
end

Update fish path and fzf settings
Update fish path and fzf settings

patricklewis/dotfiles