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
Ohmyzsh
Commits
ef9f3d97
"vscode:/vscode.git/clone" did not exist on "ef9f3d97f0920a0b151d2ada7ae7235d148639dd"
Commit
ef9f3d97
authored
Feb 23, 2017
by
Franz König
Committed by
Robby Russell
Feb 22, 2017
Browse files
Added pacman file aliases (#5869)
parent
4fba92e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/archlinux/README.md
View file @
ef9f3d97
...
...
@@ -73,6 +73,8 @@
| pacupd | sudo pacman -Sy | Update and refresh the local package database |
| pacupg | sudo pacman -Syu | Sync with repositories before upgrading packages |
| upgrade | sudo pacman -Syu | Sync with repositories before upgrading packages |
| pacfileupg | sudo pacman -Fy | Download fresh package databases from the server |
| pacfiles | pacman -Fs | Search package file names for matching strings. |
| Function | Description |
|----------------|------------------------------------------------------|
...
...
plugins/archlinux/archlinux.plugin.zsh
View file @
ef9f3d97
...
...
@@ -82,6 +82,8 @@ alias pacinsd='sudo pacman -S --asdeps'
alias
pacmir
=
'sudo pacman -Syy'
alias
paclsorphans
=
'sudo pacman -Qdt'
alias
pacrmorphans
=
'sudo pacman -Rs $(pacman -Qtdq)'
alias
pacfileupg
=
'sudo pacman -Fy'
alias
pacfiles
=
'pacman tFs'
if
((
$+
commands[abs]
&&
$+
commands[aur]
))
;
then
...
...
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