Initial commit.

This commit is contained in:
CronyAkatsuki 2024-06-20 17:26:20 +02:00
commit fb9d04b7ef
28 changed files with 2359 additions and 0 deletions

37
.config/zsh/aliases.zsh Normal file
View file

@ -0,0 +1,37 @@
#!/bin/sh
# Check ssd state
alias ssd-check="sudo smartctl -a /dev/nvme0n1 | grep -E -- 'Data Units Read:|Data Units Written:|Percentage Used:'"
# Add colors to regular commands
alias grep='grep --color=auto'
alias cp='cp -iv'
alias rm='rm -iv'
alias mkd='mkdir -pv'
alias less='less -R'
# neovim
alias vi='nvim'
# nnn
alias nnn='LC_COLLATE="C" nnn -xeaiH'
# Human readable + better output
alias df='df -h -x devtmpfs -x tmpfs -x usbfs -x loop'
alias free='free -mht'
# nicer ps
alias ps='ps auxf'
# continue download by default
alias wget='wget -c'
# Just cause I can't remember the command at all
alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
# Quickly see the hogger in the directory
alias dust='du -hd1 | sort -hr | sed "s/.\///g" | sed "/\.$/d"'
alias b='buku -p'
# cryptography
alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"