dotfiles/dot_bashrc

23 lines
610 B
Text

#
# ~/.bashrc
#
# Return if non-interactive
[[ $- != *i* ]] && return
# Prompt
PS1='[\[\e[38;5;107m\]\u\[\e[0m\]@\h \[\e[38;5;74m\]\w\[\e[0m\]]\$ '
# Aliases
alias diff='diff --color=auto'
alias grep='grep --color=auto'
alias ip='ip -color=auto'
alias ls='ls --color=auto'
alias checkupdates='checkupdates && paru -Qua'
alias hx=helix
alias kssh='/usr/bin/kitty +kitten ssh'
alias pacman-rm-unused='pacman -Qtdq | sudo pacman -Rns -'
alias vim=nvim
alias wget='wget --hsts-file="${XDG_STATE_HOME}/wget-hsts"'
alias zigup='zigup --install-dir "${XDG_DATA_HOME}/zigup" --path-link "${HOME}/.local/bin/zig"'