Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ cask "1password-cli"
tap "atlassian/homebrew-acli", trusted: true

brew "acli" # atlassian CLI
brew "asfd" # generic tool version manager
brew "awscli"
brew "bat" # cat but with syntax highlighting
brew "btop" # top/htop alternatiave
Expand All @@ -17,7 +18,7 @@ brew "coreutils" # installs gdircolors and others
brew "eza" # modern ls
brew "fd" # find replacement
brew "fish" # My main shell; need to add it to `/etc/shells` then run `chsh -s /opt/homebrew/bin/fish`
brew "fnm" # fast node.js manager
# brew "fnm" # fast node.js manager
brew "fzf"
brew "gh" # New GitHub CLI, via https://github.com/cli/cli
brew "git" # version control
Expand All @@ -37,7 +38,7 @@ brew "msedit" # simple text editor from Microsoft to use every now and then
brew "neovim" # finally made the leap from regular old vim
brew "ncdu" # upgrade over du, helps you figure out where your disk space is going
brew "postgresql@18", restart_service: true, link: true, conflicts_with: ["postgresql"] # a database I sometimes use
brew "rbenv" # managing ruby versions
# brew "rbenv" # managing ruby versions
brew "rcm" # tool to manage dotfiles repository
brew "redis", restart_service: true # a database I sometimes use
brew "ripgrep" # grep replacement, exposes rg CLI
Expand Down
1 change: 1 addition & 0 deletions asdfrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy_version_file = yes
3 changes: 2 additions & 1 deletion config/fish/conf.d/fnm.fish
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Fast node manager
# https://github.com/Schniz/fnm

fnm env --use-on-cd --shell fish --log-level quiet | source
# Temporarily evaluating asdf instead of fnm
# fnm env --use-on-cd --shell fish --log-level quiet | source
3 changes: 2 additions & 1 deletion config/fish/conf.d/rbenv.fish
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ set --global --export RBENV_ROOT "$HOME/.cache/rbenv"

# Enables rbenv for this shell session
# install rbenv with `brew install rbenv`
eval "$(rbenv init - fish)"
# Temporarily evaluating asdf instead of rbenv
# eval "$(rbenv init - fish)"
16 changes: 16 additions & 0 deletions config/fish/config.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# ASDF configuration code
if test -z $ASDF_DATA_DIR
set _asdf_shims "$HOME/.asdf/shims"
else
set _asdf_shims "$ASDF_DATA_DIR/shims"
end

# Do not use fish_add_path (added in Fish 3.2) because it
# potentially changes the order of items in PATH
if not contains $_asdf_shims $PATH
set -gx --prepend PATH $_asdf_shims
end
set --erase _asdf_shims

set --global --export ASDF_NODEJS_AUTO_ENABLE_COREPACK 1

if status is-interactive
# Setting the greeting to an empty list so fish doesn't display the default one
# Can be restored like so:
Expand Down