alpha
Login
or
Join now
xcc.es
/
dotfiles
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/mrgnw/dotfiles. My shell customizations - aliases, functions, and themes.
dotfiles
shell
zinit
zsh
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
uv tool for user/global python tools
author
Morgan
date
2 years ago
(Sep 7, 2024, 1:50 AM +0200)
commit
5cebfcc8
5cebfcc89cd079e3934eedbb1cf1ce99dc8a584c
parent
307ce65a
307ce65a0123a349b2cefb7b606f9003cc7e31c2
+7
-15
2 changed files
Expand all
Collapse all
Unified
Split
python.zsh
uv.zsh
-15
python.zsh
Reviewed
···
1
1
-
p+() { uv pip install "$@"}
2
2
-
p-() { uv pip uninstall "$@"}
3
3
-
4
4
-
»(){
5
5
-
if [ -d .venv ]; then
6
6
-
source .venv/bin/activate
7
7
-
else
8
8
-
echo "\t» ~/.venv"
9
9
-
source ~/.venv/bin/activate
10
10
-
fi
11
11
-
}
12
12
-
«(){ deactivate }
13
13
-
14
14
-
# allows pip install x[y]
15
15
-
set +o nomatch
+7
uv.zsh
View file
Reviewed
···
1
1
+
t+(){ uv tool install "$@" }
2
2
+
t»(){ uv tool upgrade "$@" }
3
3
+
t-(){ uv tool remove "$@" }
4
4
+
5
5
+
# uv autocomplete
6
6
+
eval "$(uv generate-shell-completion zsh)"
7
7
+