Skip to content

Commit

Permalink
feat(rye): さよなrye
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoppippi committed Aug 22, 2024
1 parent 5ce4a3e commit bbc14f8
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 36 deletions.
1 change: 0 additions & 1 deletion .dotfiles/mappings_unixlike.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
"docker/config.json": "~/.docker/config.json",
"efm-langserver": "~/.config/efm-langserver",
"pip/pip.conf": "~/.pip/pip.conf",
"rye/config.toml": "~/.rye/config.toml",
"zed/settings.json": "~/.config/zed/settings.json"
}
3 changes: 1 addition & 2 deletions .dotfiles/mappings_windows.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"nvim": "~/AppData/Local/nvim",
"aqua": "~/AppData/Local/aquaproj-aqua",
"efm-langserver": "~/AppData/efm-langserver",
"pip/pip.conf": "~/AppData/pip/pip.conf",
"rye/config.toml": "%USERPROFILE%/.rye/config.toml"
"pip/pip.conf": "~/AppData/pip/pip.conf"
}
3 changes: 0 additions & 3 deletions bash/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ if [ -d "/opt/homebrew/opt/ruby/bin" ]; then
export PATH=`gem environment gemdir`/bin:$PATH
fi

# rye
source "$HOME/.rye/env"

# man pager
if command -v nvim &> /dev/null; then
export MANPAGER="nvim -c ASMANPAGER -"
Expand Down
1 change: 0 additions & 1 deletion fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ fish_add_path $HOME/.nimble/bin
fish_add_path $HOME/zig

# python
fish_add_path $HOME/.rye/shims
fish_add_path $HOME/.poetry/bin
# set -gx VIRTUAL_ENV_DISABLE_PROMPT 1
set -gx PYENV_ROOT $HOME/.pyenv
Expand Down
1 change: 0 additions & 1 deletion fish/user_functions/update.fish
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function update
type -q brew && brew update && brew cleanup -s
type -q rye && rye self update
type -q gup && gup update
type -q rustup && rustup update
end
20 changes: 0 additions & 20 deletions nvim/lua/cli/cli.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,5 @@ return {
dir = vim.env.TMPDIR .. "/cli",
dependencies = {
"nvim-lua/plenary.nvim",

--- python
{
name = "rye-tools",
dir = vim.env.TMPDIR .. "/cli-rye-tools",
opts = {
tools = {
"ruff",
"ruff-lsp",
"black",
"pyright",
"mypy",
},
},
config = function(_, opts)
vim.schedule(function()
vim.iter(opts.tools):map(_l("x: vim.system({ 'rye', 'install', '-f', x }, { text = true })"))
end)
end,
},
},
}
8 changes: 0 additions & 8 deletions rye/config.toml

This file was deleted.

0 comments on commit bbc14f8

Please sign in to comment.