bin: update scripts, remove ones that i dont use

This commit is contained in:
Oleksandr Smirnov 2025-03-31 15:33:36 +03:00
parent c6b3d720d3
commit c41d196c5e
No known key found for this signature in database
5 changed files with 3 additions and 11 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
sudo pacman -Syyuu --noconfirm sudo pacman -Syyuu --noconfirm
paru -Sua --noconfirm paru -Sua --noconfirm
sudo pacman -Rns $(pacman -Qdtq) --noconfirm sudo pacman -Rns "$(pacman -Qdtq)" --noconfirm

2
bin/git-main Executable file
View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
git switch master 2>/dev/null || git switch main

View file

@ -1,6 +0,0 @@
#!/usr/bin/env bash
if [ -n "$1" ]; then
exec gh issue edit "$@"
fi
exec gh issue create

View file

@ -1,2 +0,0 @@
#!/usr/bin/env bash
exec gh issue list "$@"

View file

@ -28,8 +28,6 @@
st = status -sb st = status -sb
cm = commit -m cm = commit -m
sw = switch sw = switch
unfuck = !git-unfuck
main = !git switch master 2>/dev/null || git switch main
[interactive] [interactive]
diffFilter = delta --color-only diffFilter = delta --color-only