The gMan nixWiki

Because the mind is made of Teflon...

User Tools

Site Tools


resources

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources [2024/01/01 18:58] – [APT Commands] gmanresources [2024/01/13 01:36] (current) gman
Line 261: Line 261:
 ===== APT Commands ===== ===== APT Commands =====
  
-See [commands#apt | here]+See [[general_commands#apt | here]]
  
-<code> 
-# [1] Update package repo 
-apt update 
- 
-# [2] Upgrade your distro 
-apt full-upgrade -y 
- 
-# [3] Remove obsolete packages left after the upgrade  
-apt autoremove 
- 
-# [4] Clear local repo of useless package files 
-apt autoclean 
- 
-# Or do it all in one line: 
-apt update && apt full-upgrade -y && apt autoremove && apt autoclean 
-</code> 
 ===== SecLists ===== ===== SecLists =====
  
Line 299: Line 283:
 └── Web-Shells └── Web-Shells
 </code> </code>
 +
 +===== zsh auto-suggestion =====
 +
 +The default terminal in Kali is zsh and out of the box it has auto-suggestion turned on. That means you get pop-up suggestions every time you type in the term window. Annoying. 
 +
 +**Here's how you turn that off:** Find the following lines in your ''~/.zshrc'' file (toward the bottom, around line 248: ''vim +248 .zshrc'') and comment them out. 
 +
 +<code>
 +# enable auto-suggestions based on the history
 +if [ -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then
 +    . /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
 +    # change suggestion color
 +    ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#999'
 +fi
 +</code>
 +
 +Restart the terminal for changes to take effect. 
  
 ---- ----
resources.1704135489.txt.gz · Last modified: by gman