25 lines
531 B
Plaintext
25 lines
531 B
Plaintext
# File system
|
|
alias ls='eza -lh --group-directories-first --icons'
|
|
alias lt='eza --tree --level=2 --long --icons --git'
|
|
alias ff="fzf --preview 'batcat --style=numbers --color=always {}'"
|
|
|
|
# Directories
|
|
alias ..='cd ..'
|
|
alias ...='cd ../..'
|
|
alias ....='cd ../../..'
|
|
|
|
# Tools
|
|
alias n='nvim'
|
|
alias g='git'
|
|
alias d='docker'
|
|
alias bat='batcat'
|
|
|
|
# Git
|
|
alias gcm='git commit -m'
|
|
alias gcam='git commit -a -m'
|
|
alias gcad='git commit -a --amend'
|
|
|
|
# Compression
|
|
compress() { tar -czf "${1%/}.tar.gz" "${1%/}"; }
|
|
alias decompress="tar -xzf"
|