mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-01-23 15:44:33 +00:00
Compare commits
2 commits
31ab2cdb8e
...
9b3c5b20aa
Author | SHA1 | Date | |
---|---|---|---|
ItsDrike | 9b3c5b20aa | ||
ItsDrike | dacb4ac34c |
|
@ -26,8 +26,8 @@
|
||||||
# width = 300
|
# width = 300
|
||||||
width = 270
|
width = 270
|
||||||
|
|
||||||
# The maximum height of a single notification, excluding the frame.
|
# The dynamic height of a single notification, excluding the frame.
|
||||||
height = 300
|
height = (0, 300)
|
||||||
|
|
||||||
# Position the notification in the top right corner
|
# Position the notification in the top right corner
|
||||||
origin = top-right
|
origin = top-right
|
||||||
|
|
|
@ -17,3 +17,11 @@ fi
|
||||||
zstyle ':completion:*' menu select # select completions with arrow keys
|
zstyle ':completion:*' menu select # select completions with arrow keys
|
||||||
zstyle ':completion:*' group-name '' # group results by category
|
zstyle ':completion:*' group-name '' # group results by category
|
||||||
zstyle ':completion:::::' completer _expand _complete _ignored _approximate # enable approximate matches for completion
|
zstyle ':completion:::::' completer _expand _complete _ignored _approximate # enable approximate matches for completion
|
||||||
|
|
||||||
|
# Autocompletion for various tools
|
||||||
|
if command -v uv >/dev/null 2>&1; then
|
||||||
|
eval "$(uv generate-shell-completion zsh)"
|
||||||
|
fi
|
||||||
|
if command -v uvx >/dev/null 2>&1; then
|
||||||
|
eval "$(uvx --generate-shell-completion zsh)"
|
||||||
|
fi
|
||||||
|
|
|
@ -104,21 +104,12 @@ source ~/.config/shell/environment
|
||||||
# Install stable channel default rust toolchain
|
# Install stable channel default rust toolchain
|
||||||
rustup default stable
|
rustup default stable
|
||||||
|
|
||||||
# Install various python versions with rye
|
# Install various python versions with uv
|
||||||
rye toolchain list --include-downloadable | rg "cpython@3.12" | cut -d' ' -f1 | head -n 1 | xargs rye toolchain fetch
|
uv python install 3.12 3.11 3.10 3.9 3.8 3.7
|
||||||
rye toolchain list --include-downloadable | rg "cpython@3.11" | cut -d' ' -f1 | head -n 1 | xargs rye toolchain fetch
|
|
||||||
rye toolchain list --include-downloadable | rg "cpython@3.10" | cut -d' ' -f1 | head -n 1 | xargs rye toolchain fetch
|
|
||||||
rye toolchain list --include-downloadable | rg "cpython@3.9" | cut -d' ' -f1 | head -n 1 | xargs rye toolchain fetch
|
|
||||||
rye toolchain list --include-downloadable | rg "cpython@3.8" | cut -d' ' -f1 | head -n 1 | xargs rye toolchain fetch
|
|
||||||
rye toolchain list --include-downloadable | rg "cpython@3.7" | cut -d' ' -f1 | head -n 1 | xargs rye toolchain fetch
|
|
||||||
rye toolchain list --include-downloadable | rg "cpython@3.6" | cut -d' ' -f1 | head -n 1 | xargs rye toolchain fetch
|
|
||||||
|
|
||||||
# Install ipython with rye
|
# Install various useful python packages
|
||||||
rye tools install ipython
|
paru -S --noconfirm --needed ipython ruff pyright mypy
|
||||||
rye tools install ruff
|
uv tool install basedpyright
|
||||||
rye tools install basedpyright
|
|
||||||
rye tools install pyright
|
|
||||||
rye tools install mypy
|
|
||||||
|
|
||||||
# Pull my public key and give it ultimate trust
|
# Pull my public key and give it ultimate trust
|
||||||
# (Obviously, you might not want to do this in your case,
|
# (Obviously, you might not want to do this in your case,
|
||||||
|
|
Loading…
Reference in a new issue