dotfiles/.config/zsh/.zaliases
2024-08-07 23:43:22 +02:00

19 lines
568 B
Text

if grep -q '^NAME="Artix Linux"$' /etc/os-release; then
alias reboot="loginctl reboot"
alias poweroff="loginctl poweroff"
fi
alias ssh="TERM=xterm-256color ssh"
#alias ssh="TERM=xterm-256color kitty +kitten ssh"
alias ff="fastfetch"
alias ip="ip --color=auto"
alias hx="helix"
alias sc="shellcheck -x -s bash"
alias sctl="systemctl"
alias sudo="sudo "
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
# git init --bare $HOME/.dotfiles
# cfg config --local status.showUntrackedFiles no
alias cfg="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"