Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f930c1f23 | ||
|
|
7f09d83008 |
@@ -78,6 +78,28 @@ fi
|
||||
# ==============================================================================
|
||||
# ALIASES
|
||||
# ==============================================================================
|
||||
# Void linux helpers
|
||||
# System update (sync + update all packages)
|
||||
alias void-update='sudo xbps-install -Su'
|
||||
# Remove orphaned dependencies + clean cache
|
||||
alias void-clean='sudo xbps-remove -Oo'
|
||||
# List explicitly installed (manual) packages
|
||||
alias void-installed='xbps-query -m'
|
||||
# List all installed packages
|
||||
alias void-installedall='xbps-query -l'
|
||||
# Show which package owns a file
|
||||
alias void-owns='xbps-query -o'
|
||||
# Remove a package and its unused deps in one go (usage: purge <pkgname>)
|
||||
alias void-purge='sudo xbps-remove -R'
|
||||
# Install a package (usage: install <pkgname>)
|
||||
alias void-install='sudo xbps-install'
|
||||
# Remove a package (usage: remove <pkgname>)
|
||||
alias void-remove='sudo xbps-remove'
|
||||
# Search for a package
|
||||
alias void-search='xbps-query -Rs'
|
||||
# Show info about a package
|
||||
alias void-query='xbps-query -R'
|
||||
|
||||
# List commands
|
||||
alias ls='ls -lh --color=auto --group-directories-first'
|
||||
alias ll='ls -lAh --color=auto --group-directories-first'
|
||||
|
||||
@@ -36,8 +36,8 @@ require("oil").setup({
|
||||
},
|
||||
keymaps = {
|
||||
["<CR>"] = "actions.select",
|
||||
["-"] = "actions.parent",
|
||||
["_"] = "actions.open_cwd",
|
||||
["l"] = "actions.select",
|
||||
["h"] = "actions.parent",
|
||||
["q"] = "actions.close",
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user