- Stuff thats not available as
pacman
package- update everything:
sudo pacman -Syu
- install package:
sudo pacman -S [package name]
- remove package:
sudo pacman -R [package name]
- also remove dependencies
sudo pacman -Rs [package name]
- also remove dependencies
- update everything:
- Using yay
- install:
yay -S <aur package name>
- upgrade (guided):
yay -Sua
- remove:
yay -R <aur package name>
- install:
- To background in shell (f.e.: nano):
CTRL+Z
- to backgroundfg
- back to foreground
- write iso to sd/usb
sudo dd bs=4M if=theIso.iso of=/dev/sda status=progress oflag=sync
- if: source
- of: target
- Find biggest files
- `sudo du -a /dir/ | sort -n -r | head -n 20
- 20 ... show just the 20 biggest files
- `sudo du -a /dir/ | sort -n -r | head -n 20
- Since microsoft create special boot mediums - writing the iso won't work
- Solution use
woeusb
(https://aur.archlinux.org/packages/woeusb) sudo woeusb --target-filesystem NTFS --device windows.iso /dev/sda
(Used via fzf)
CTRL-T
- show folder and subfolder contentCTRL-R
- show file/folder historyCTRL-C
- show subfolders
plugins=(
fzf
git
history-substring-search
colored-man-pages
zsh-autosuggestions
zsh-syntax-highlighting
zsh-z
vscode
)
In ~/.oh-my-zsh/custom/plugins
- git clone https://github.com/agkozak/zsh-z
- git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
- git clone https://github.com/zsh-users/zsh-autosuggestions
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
- change theme in
~/.zshrc
- ZSH_THEME="powerlevel10k/powerlevel10k"
- update zsh:
source ~/.zshrc