1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-10-16 14:27:34 +00:00

Compare commits

..

No commits in common. "1269191e0d250c4ed5a5c5139ee8da4193fe0a70" and "e9395c37872ca9e2d91e7733e124171c516df45c" have entirely different histories.

4 changed files with 1 additions and 37 deletions

View file

@ -1,18 +1,4 @@
function fish_right_prompt
if [ -n "$VIRTUAL_ENV_PROMPT" ]
set_color white
echo -n -- "{venv:"
set_color reset
set_color brcyan
echo -n -- " $VIRTUAL_ENV_PROMPT"
set_color reset
set_color white
echo -n -- "}"
set_color reset
end
if [ -f "compose.yml" ]
set --local docker_pod_name (docker compose config --format="json" | jq --raw-output '.name')
set --local docker_pod_states_output (docker compose ps --format="json" --all | jq --slurp --raw-output '.[].State')
@ -24,7 +10,7 @@ function fish_right_prompt
set --local docker_pod_dead_count (echo "$docker_pod_states_output" | grep --only-matching 'dead' - | wc --lines)
set_color white
echo -n -- "{compose:"
echo -n -- "{"
set_color reset
if [ "$docker_pod_dead_count" -gt 0 ]

View file

@ -1,10 +0,0 @@
which magick --skip-functions >/dev/null 2>/dev/null
if [ $status -eq 0 ]
function pad-image
log-t "Creating" "Images padded to $argv[1]" "directory..."
command mkdir --parents "Images padded to $argv[1]"
log-d "Padding" "$argv[3]" "to $argv[1]..."
command magick -background "$argv[2]" "$argv[3]" -resize "$argv[1]" -gravity "center" -extent "$argv[1]" $argv[4..-1] "Images padded to $argv[1]/$argv[3]"
log-t "Done! Emoji added to the" "Images padded to $argv[1]" "directory!"
end
end

View file

@ -1,6 +0,0 @@
which uvx --skip-functions >/dev/null 2>/dev/null
if [ $status -eq 0 ]
function python-build
uvx --from build pyproject-build --installer uv
end
end

View file

@ -1,6 +0,0 @@
which uvx --skip-functions >/dev/null 2>/dev/null
if [ $status -eq 0 ]
function python-publish
uvx twine upload --non-interactive --verbose --username "Steffo" dist/*
end
end