mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2025-02-17 18:03:23 -05:00
Updated Fish
Signed-off-by: The-Repo-Club <wayne6324@gmail.com>
This commit is contained in:
parent
0bfc0b623a
commit
cfb13fac9f
@ -1,3 +1,5 @@
|
|||||||
|
export MICRO_TRUECOLOR=1
|
||||||
|
|
||||||
for plugins in "$HOME/.config/fish/plugins/"*
|
for plugins in "$HOME/.config/fish/plugins/"*
|
||||||
source $plugins
|
source $plugins
|
||||||
end
|
end
|
||||||
|
@ -20,8 +20,10 @@ function pacman
|
|||||||
else if [ "$argv" = --upall ]
|
else if [ "$argv" = --upall ]
|
||||||
command sudo pacman -Fy
|
command sudo pacman -Fy
|
||||||
command sudo pacman -Sy
|
command sudo pacman -Sy
|
||||||
command sudo pacman -Su --noconfirm
|
command paru -Su
|
||||||
command auracle update -C ~/.cache/pkgs/
|
command auracle update -C ~/.cache/pkgs/
|
||||||
|
else if [ "$argv" = --upkernel ]
|
||||||
|
command sudo pacman -S linux linux-lts linux-zen linux-headers linux-lts-headers linux-zen-headers --needed --noconfirm
|
||||||
else if [ "$argv" = --pacsync ]
|
else if [ "$argv" = --pacsync ]
|
||||||
command pacsync
|
command pacsync
|
||||||
else
|
else
|
||||||
@ -29,11 +31,15 @@ function pacman
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update all repos
|
# Update all packages
|
||||||
function upall
|
function upall
|
||||||
pacman --upall
|
pacman --upall
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function upkernel
|
||||||
|
pacman --upkernel
|
||||||
|
end
|
||||||
|
|
||||||
#check aur and arch packages
|
#check aur and arch packages
|
||||||
function checkarch
|
function checkarch
|
||||||
command sudo pacman -Qqen >~/package_list.txt
|
command sudo pacman -Qqen >~/package_list.txt
|
||||||
|
@ -6,6 +6,8 @@ function updaterepo
|
|||||||
|
|
||||||
switch $confirm
|
switch $confirm
|
||||||
case Y y
|
case Y y
|
||||||
|
cd /mnt/500GB/.gitlabs/Arch.TheRepo.Club/scripts/
|
||||||
|
python mkindex.py --header "arch.linuxrepos.org" ../x86_64 >../x86_64/index.html
|
||||||
cd /mnt/500GB/.gitlabs/Arch.TheRepo.Club/
|
cd /mnt/500GB/.gitlabs/Arch.TheRepo.Club/
|
||||||
./x86_64/updaterepo.sh $argv
|
./x86_64/updaterepo.sh $argv
|
||||||
cd $dirprev[1]
|
cd $dirprev[1]
|
||||||
|
@ -13,11 +13,11 @@ function fish_command_not_found
|
|||||||
pacman -F $paths
|
pacman -F $paths
|
||||||
|
|
||||||
while true
|
while true
|
||||||
read -l -P "Would you like to install $pkgs? [Y/n] " confirm
|
read -l -P "Would you like to install $pkgs[1]? [Y/n] " confirm
|
||||||
|
|
||||||
switch $confirm
|
switch $confirm
|
||||||
case Y y
|
case Y y
|
||||||
pacman -S $pkgs
|
pacman -S $pkgs[1]
|
||||||
return
|
return
|
||||||
case N n
|
case N n
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user