2022-12-22 04:07:12 -05:00
|
|
|
#
|
|
|
|
# ~/.bashrc
|
|
|
|
#
|
|
|
|
|
2023-04-02 02:36:17 -04:00
|
|
|
# Return if non-interactive
|
2022-12-22 04:07:12 -05:00
|
|
|
[[ $- != *i* ]] && return
|
|
|
|
|
2023-11-05 19:38:16 -05:00
|
|
|
# Prompt
|
2023-04-15 14:39:56 -04:00
|
|
|
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
|
2023-04-02 02:36:17 -04:00
|
|
|
alias diff='diff --color=auto'
|
|
|
|
alias grep='grep --color=auto'
|
|
|
|
alias ip='ip -color=auto'
|
|
|
|
alias ls='ls --color=auto'
|
2022-12-28 14:56:33 -05:00
|
|
|
|
2023-04-02 02:36:17 -04:00
|
|
|
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'
|