Add navi
This commit is contained in:
parent
6a3ac59eaf
commit
a40e147650
@ -85,6 +85,9 @@ function performSetup() {
|
||||
linkFile ".i3"
|
||||
linkFile ".i3status.conf"
|
||||
|
||||
echo "Linking navi cheatsheets..."
|
||||
ln -fns ${REPO_DIR}/navi .local/share/navi
|
||||
|
||||
echo "Linking bin files"
|
||||
linkFile "bin/git-safedel"
|
||||
linkFile "bin/diff-highlight"
|
||||
@ -92,6 +95,7 @@ function performSetup() {
|
||||
linkFile "bin/bat-0.10.0"
|
||||
linkFile "bin/diff-so-fancy"
|
||||
linkFile "bin/broot"
|
||||
linkFile "bin/navi"
|
||||
|
||||
echo "Installing tmux plugins"
|
||||
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||
|
55
navi/cheats/my-cheats/pkg_mgr__apt.cheat
Normal file
55
navi/cheats/my-cheats/pkg_mgr__apt.cheat
Normal file
@ -0,0 +1,55 @@
|
||||
% apt
|
||||
|
||||
# Update content listings from package repositories
|
||||
apt update
|
||||
|
||||
# List all available packages
|
||||
apt list
|
||||
|
||||
# List all installed packages
|
||||
apt list --installed
|
||||
|
||||
# Info about package (including description)
|
||||
apt show -a <package-name>
|
||||
|
||||
# Show versions and archive areas of available package
|
||||
apt list -a <package-name>
|
||||
|
||||
# Search in repository (packages and description)
|
||||
apt search <query>
|
||||
|
||||
# Check updates for installed packages
|
||||
apt list --upgradeable
|
||||
|
||||
# Update all installed packages
|
||||
apt upgrade
|
||||
|
||||
# Upgrade all installed packages (add/remove dependencies)
|
||||
apt full-upgrade
|
||||
|
||||
# Update specific/individual package
|
||||
apt install --only-upgrade <package-name>
|
||||
|
||||
# Downgrade package to a specific version
|
||||
apt install <package-name>=<package-version>
|
||||
|
||||
# Install a package from repository
|
||||
apt install <package-name>
|
||||
|
||||
# Remove/delete package
|
||||
apt remove <package-name>
|
||||
|
||||
# Remove/delete package (with config files)
|
||||
apt purge <package-name>
|
||||
|
||||
# Install local dpkg package
|
||||
apt install <filepath-deb>
|
||||
|
||||
# List dependencies of package
|
||||
apt depends <package-name>
|
||||
|
||||
# List reverse dependencies of package
|
||||
apt rdepends <package-name>
|
||||
|
||||
# Remove un-needed packages and dependencies
|
||||
apt autoremove
|
4
navi/cheats/my-cheats/shell.cheat
Normal file
4
navi/cheats/my-cheats/shell.cheat
Normal file
@ -0,0 +1,4 @@
|
||||
% shell
|
||||
|
||||
# Display file sizes, sorted desc
|
||||
du -d 1 -h . | sort -hr
|
Loading…
Reference in New Issue
Block a user