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 [2022/10/22 17:55] gmanresources [2024/01/13 01:36] (current) gman
Line 203: Line 203:
 ===== My Tweaks ===== ===== My Tweaks =====
  
-Here the lines I add to my ''/etc/default/grub'' file immediately (first thing!) after a fresh install (descriptions below): +Here are the lines I add to my ''/etc/default/grub'' file immediately (first thing!) after a fresh install (descriptions below): 
  
 <code> <code>
Line 210: Line 210:
 GRUB_DISABLE_OS_PROBER=false GRUB_DISABLE_OS_PROBER=false
 </code> </code>
 +
 +After you save the grub file, run: ''update-grub''. Reboot.
  
 ---- ----
Line 259: Line 261:
 ===== APT Commands ===== ===== APT Commands =====
  
-<code> +See [[general_commands#apt | here]]
-[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 295: 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.1666461356.txt.gz · Last modified: by gman