Skip to content

Commit

Permalink
✨ install mise
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0q committed Dec 13, 2024
1 parent 19b1371 commit d6bcd88
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 15 deletions.
26 changes: 11 additions & 15 deletions common/fish/config.fish
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
# $fish_user_paths
fish_add_path \
~/.local/share/aquaproj-aqua/bin \
~/go/bin \
~/.volta/bin \
~/.cargo/bin \
~/.deno/bin \
/opt/homebrew/bin \
/opt/homebrew/opt/openjdk/bin
set -q CODE_BIN; and fish_add_path $CODE_BIN
set -q PWSH_BIN; and fish_add_path $PWSH_BIN
# mise (call first!)
mise hook-env -s fish | source
mise completion fish | source

# fzf
fzf --fish | source

# starship
starship init fish --print-full-init \
| sed "s@(which starship)@(aqua which starship)@g" \
| source
starship init fish --print-full-init | source

# zoxide
zoxide init --cmd cd --hook pwd fish | source
Expand All @@ -25,4 +15,10 @@ zoxide init --cmd cd --hook pwd fish | source
fnm completions --shell fish | source

# Zellij
set -q ZELLIJ_AUTOSTART; and not set -q ZELLIJ; and zellij
if not set -q ZELLIJ; and set -q ZELLIJ_AUTO_ATTACH
zellij attach -c

if set -q ZELLIJ_AUTO_EXIT
kill $fish_pid
end
end
26 changes: 26 additions & 0 deletions common/mise/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[tools]
"aqua:1password/cli" = "v2.30.0"
"aqua:BurntSushi/ripgrep" = "latest"
"aqua:Schniz/fnm" = "latest"
"aqua:ajeetdsouza/zoxide" = "latest"
"aqua:astral-sh/uv" = "latest"
"aqua:cli/cli" = "latest"
"aqua:denoland/deno" = "latest"
"aqua:dylanaraps/neofetch" = "latest"
"aqua:helix-editor/helix" = "latest"
"aqua:jqlang/jq" = "latest"
"aqua:junegunn/fzf" = "latest"
"aqua:sharkdp/fd" = "latest"
"aqua:starship/starship" = "latest"
"aqua:sxyazi/yazi" = "latest"
"aqua:tamasfe/taplo/full" = "latest"
"aqua:x-motemen/ghq" = "latest"
"aqua:ynqa/jnv" = "latest"
"aqua:zellij-org/zellij" = "latest"
"aqua:ziglang/zig" = "latest"
"cargo:eza" = "latest"
deno = "latest"
go = "latest"
rust = "latest"
usage = "latest"
zig = "latest"
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ symlink $root/common/aquaproj-aqua ~/.config/aquaproj-aqua
symlink $root/common/gitmoji-nodejs ~/.config/gitmoji-nodejs
symlink $root/common/fish ~/.config/fish
symlink $root/common/helix ~/.config/helix
symlink $root/common/mise ~/.config/mise
symlink $root/common/starship.toml ~/.config/starship.toml
symlink $root/common/zellij ~/.config/zellij

Expand Down

0 comments on commit d6bcd88

Please sign in to comment.