dotfiles/.config/zsh/.zaliases

17 lines
527 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 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"