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:53] gmanresources [2024/01/13 01:36] (current) gman
Line 200: Line 200:
  
 ====== GRUB ====== ====== GRUB ======
 +
 +===== My Tweaks =====
 +
 +Here are the lines I add to my ''/etc/default/grub'' file immediately (first thing!) after a fresh install (descriptions below): 
 +
 +<code>
 +GRUB_DEFAULT=saved
 +GRUB_SAVEDEFAULT=true
 +GRUB_DISABLE_OS_PROBER=false
 +</code>
 +
 +After you save the grub file, run: ''update-grub''. Reboot.
 +
 +----
  
 ===== Reinstall GRUB ===== ===== Reinstall GRUB =====
Line 226: Line 240:
 <code>update-grub</code> <code>update-grub</code>
  
-===== No Windows ===== 
- 
-If your fancy, shiny, new Linux install failed to recognize Windows and place a boot option for it in Grub, 
-see [[general_configs#os-prober | Kali::os-prober]]. 
  
 ===== No Windows ===== ===== No Windows =====
Line 251: 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 287: 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.1666461208.txt.gz · Last modified: by gman