Skip to content

Instantly share code, notes, and snippets.

@robsalasco
Created November 29, 2021 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robsalasco/8ec0615491de33c74c94b252fcfc0d75 to your computer and use it in GitHub Desktop.
Save robsalasco/8ec0615491de33c74c94b252fcfc0d75 to your computer and use it in GitHub Desktop.
Default fish config
set -U fish_greeting "🐟"
set -Ux RSTUDIO_WHICH_R /usr/local/bin/R
set -Ux EDITOR /usr/local/bin/subl
set default_path /usr/bin /usr/sbin /bin /sbin
set homebrew_arm /opt/homebrew/bin /opt/homebrew/sbin
set homebrew_x86 /usr/local/bin /usr/local/sbin
set architecture (arch)
if test $architecture = "arm64"
set -gx PATH $homebrew_arm $default_path
else if test $architecture = "i386"
set -gx PATH $homebrew_x86 $default_path
else
echo "Unknown architecture."
end
starship init fish | source
nodenv init - | source
pyenv init - | source
pyenv virtualenv-init - | source
alias f='open -a Finder ./'
alias ls='lsd'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment