Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
b18e5bf4
Commit
b18e5bf4
authored
Oct 03, 2016
by
Marc Cornellà
Browse files
Merge branch 'Majora320-master'
Closes #5460
parents
d186bc30
e418a2bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/archlinux/README.md
View file @
b18e5bf4
...
@@ -27,6 +27,30 @@
...
@@ -27,6 +27,30 @@
| yasu | yaourt -Syua --no-confirm | Same as
`yaupg`
, but without confirmation |
| yasu | yaourt -Syua --no-confirm | Same as
`yaupg`
, but without confirmation |
| upgrade | yaourt -Syu | Sync with repositories before upgrading packages |
| upgrade | yaourt -Syu | Sync with repositories before upgrading packages |
### PACAUR
| Alias | Command | Description |
|---------|------------------------------------|---------------------------------------------------------------------|
| pain | pacaur -S | Install packages from the repositories |
| pains | pacaur -U | Install a package from a local file |
| painsd | pacaur -S --asdeps | Install packages as dependencies of another package |
| paloc | pacaur -Qi | Display information about a package in the local database |
| palocs | pacaur -Qs | Search for packages in the local database |
| palst | pacaur -Qe | List installed packages including from AUR (tagged as "local") |
| pamir | pacaur -Syy | Force refresh of all package lists after updating mirrorlist |
| paorph | pacaur -Qtd | Remove orphans using pacaur |
| pare | pacaur -R | Remove packages, keeping its settings and dependencies |
| parem | pacaur -Rns | Remove packages, including its settings and unneeded dependencies |
| parep | pacaur -Si | Display information about a package in the repositories |
| pareps | pacaur -Ss | Search for packages in the repositories |
| paupd | pacaur -Sy && sudo abs && sudo aur | Update and refresh local package, ABS and AUR databases |
| paupd | pacaur -Sy && sudo abs | Update and refresh the local package and ABS databases |
| paupd | pacaur -Sy && sudo aur | Update and refresh the local package and AUR databases |
| paupd | pacaur -Sy | Update and refresh the local package database |
| paupg | pacaur -Syua | Sync with repositories before upgrading all packages (from AUR too) |
| pasu | pacaur -Syua --no-confirm | Same as
`paupg`
, but without confirmation |
| upgrade | pacaur -Syu
#### PACMAN
#### PACMAN
| Alias | Command | Description |
| Alias | Command | Description |
...
@@ -67,3 +91,5 @@
...
@@ -67,3 +91,5 @@
-
Martin Putniorz - mputniorz@gmail.com
-
Martin Putniorz - mputniorz@gmail.com
-
MatthR3D - matthr3d@gmail.com
-
MatthR3D - matthr3d@gmail.com
-
ornicar - thibault.duplessis@gmail.com
-
ornicar - thibault.duplessis@gmail.com
-
Juraj Fiala - doctorjellyface@riseup.net
-
Majora320 (Moses Miller) - Majora320@gmail.com
plugins/archlinux/archlinux.plugin.zsh
View file @
b18e5bf4
if
!
((
$+
commands[yaourt]
))
;
then
if
((
$+
commands[yaourt]
))
;
then
upgrade
()
{
sudo
pacman
-Syu
}
else
upgrade
()
{
yaourt
-Syu
}
alias
yaconf
=
'yaourt -C'
alias
yaconf
=
'yaourt -C'
alias
yaupg
=
'yaourt -Syua'
alias
yaupg
=
'yaourt -Syua'
alias
yasu
=
'yaourt -Syua --noconfirm'
alias
yasu
=
'yaourt -Syua --noconfirm'
...
@@ -35,6 +27,47 @@ else
...
@@ -35,6 +27,47 @@ else
fi
fi
fi
fi
if
((
$+
commands[pacaur]
))
;
then
alias
paupg
=
'pacaur -Syua'
alias
pasu
=
'pacaur -Syua --noconfirm'
alias
pain
=
'pacaur -S'
alias
pains
=
'pacaur -U'
alias
pare
=
'pacaur -R'
alias
parem
=
'pacaur -Rns'
alias
parep
=
'pacaur -Si'
alias
pareps
=
'pacaur -Ss'
alias
paloc
=
'pacaur -Qi'
alias
palocs
=
'pacaur -Qs'
alias
palst
=
'pacaur -Qe'
alias
paorph
=
'pacaur -Qtd'
alias
painsd
=
'pacaur -S --asdeps'
alias
pamir
=
'pacaur -Syy'
if
((
$+
commands[abs]
&&
$+
commands[aur]
))
;
then
alias
paupd
=
'pacaur -Sy && sudo abs && sudo aur'
elif
((
$+
commands[abs]
))
;
then
alias
paupd
=
'pacaur -Sy && sudo abs'
elif
((
$+
commands[aur]
))
;
then
alias
paupd
=
'pacaur -Sy && sudo aur'
else
alias
paupd
=
'pacaur -Sy'
fi
fi
if
((
$+
commands[pacaur]
))
;
then
upgrade
()
{
pacaur
-Syu
}
elif
((
$+
commands[yaourt]
))
;
then
upgrade
()
{
yaourt
-Syu
}
else
upgrade
()
{
sudo
pacman
-Syu
}
fi
# Pacman - https://wiki.archlinux.org/index.php/Pacman_Tips
# Pacman - https://wiki.archlinux.org/index.php/Pacman_Tips
alias
pacupg
=
'sudo pacman -Syu'
alias
pacupg
=
'sudo pacman -Syu'
alias
pacin
=
'sudo pacman -S'
alias
pacin
=
'sudo pacman -S'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment