Skip to content

Instantly share code, notes, and snippets.

@razzius
Created November 16, 2025 00:39
Show Gist options
  • Select an option

  • Save razzius/bd78f4477450943fb4fcf8a0c3df3bc8 to your computer and use it in GitHub Desktop.

Select an option

Save razzius/bd78f4477450943fb4fcf8a0c3df3bc8 to your computer and use it in GitHub Desktop.
#!fish
export EDITOR=vim
export BROWSER=firefox
export RIPGREP_CONFIG_PATH=$HOME/.rgrc
function add_path --argument path
fish_add_path -g $path
end
add_path ~/.local/bin
add_path ~/go/bin
add_path /opt/homebrew/opt/ruby/bin
add_path ~/.cargo/bin
add_path (ruby -e 'puts Gem.dir')/bin
add_path (ruby -e 'puts Gem.user_dir')/bin
function nproc
sysctl -n hw.physicalcpu
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment