2024-06-09 04:16:43 -05:00
|
|
|
# Aliases I like
|
|
|
|
alias update="sudo dnf update -y && flatpak update -y"
|
|
|
|
alias install="sudo dnf install -y"
|
|
|
|
alias letscode="cd ~/Documents/Code && ranger ."
|
|
|
|
alias gtext="gnome-text-editor"
|
|
|
|
alias :q="exit"
|
|
|
|
alias :wq="exit"
|
|
|
|
alias cdcode="cd ~/Documents/Code"
|
2024-07-11 08:53:27 -05:00
|
|
|
alias cdsun="cd ~/.local/share/sunhat"
|
2024-06-09 04:16:43 -05:00
|
|
|
alias rnr="ranger"
|
2024-06-10 14:12:05 -05:00
|
|
|
alias startsunshine="systemctl --user restart sunshine.service"
|
2024-07-11 08:53:27 -05:00
|
|
|
alias sourcerc="source ~/.bashrc"
|
|
|
|
alias john="~/.local/share/sunhat/packages/JohnTheRipper/run/john"
|
2024-06-09 04:16:43 -05:00
|
|
|
|
2024-05-25 15:52:00 -05:00
|
|
|
# File system
|
|
|
|
alias ls='eza -lh --group-directories-first --icons'
|
2024-06-03 17:33:17 -05:00
|
|
|
alias lsa='ls -a'
|
2024-05-25 15:52:00 -05:00
|
|
|
alias lt='eza --tree --level=2 --long --icons --git'
|
2024-06-02 14:26:32 -05:00
|
|
|
alias lta='lt -a'
|
2024-05-25 15:52:00 -05:00
|
|
|
alias ff="fzf --preview 'batcat --style=numbers --color=always {}'"
|
|
|
|
|
2024-05-26 12:59:30 -05:00
|
|
|
# Directories
|
2024-06-09 17:45:46 -05:00
|
|
|
alias ..='cd ..'
|
|
|
|
alias ...='cd ../..'
|
|
|
|
alias ....='cd ../../..'
|
2024-05-26 12:59:30 -05:00
|
|
|
|
2024-05-25 15:52:00 -05:00
|
|
|
# Tools
|
|
|
|
alias n='nvim'
|
2024-11-21 21:59:48 -06:00
|
|
|
alias n.="nvim ."
|
|
|
|
alias nlc="nvim lc"
|
2024-05-25 15:52:00 -05:00
|
|
|
alias g='git'
|
2024-11-21 21:59:48 -06:00
|
|
|
alias watchsmi="watch -n 3 nvidia-smi"
|
2024-05-25 15:52:00 -05:00
|
|
|
|
|
|
|
# Git
|
|
|
|
alias gcm='git commit -m'
|
|
|
|
alias gcam='git commit -a -m'
|
|
|
|
alias gcad='git commit -a --amend'
|
2024-05-26 16:24:02 -05:00
|
|
|
|
|
|
|
# Compression
|
|
|
|
compress() { tar -czf "${1%/}.tar.gz" "${1%/}"; }
|
|
|
|
alias decompress="tar -xzf"
|
2024-10-05 19:33:39 -05:00
|
|
|
|
|
|
|
export HSA_OVERRIDE_GFX_VERSION=11.0.0
|