dotfiles/dot_bashrc

23 lines
595 B
Text
Raw Normal View History

2022-12-22 04:07:12 -05:00
#
# ~/.bashrc
#
# Return if non-interactive
2022-12-22 04:07:12 -05:00
[[ $- != *i* ]] && return
2023-11-05 19:38:16 -05:00
# Prompt
PS1='[\[\e[38;5;107m\]\u\[\e[0m\]@\h \[\e[38;5;74m\]\w\[\e[0m\]]\$ '
2022-12-22 04:07:12 -05:00
2023-11-05 19:38:16 -05:00
# Aliases
alias diff='diff --color=auto'
alias grep='grep --color=auto'
alias ip='ip -color=auto'
alias ls='ls --color=auto'
alias vim=nvim
2023-07-17 23:18:52 -04:00
alias kssh='/usr/bin/kitty +kitten ssh'
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"'
2023-11-05 19:38:16 -05:00
alias pacman-rm-unused='pacman -Qtdq | sudo pacman -Rns -'
alias checkupdates='checkupdates && paru -Qua'