mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 09:53:10 -05:00
22 lines
595 B
Text
22 lines
595 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 vim=nvim
|
|
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"'
|
|
alias pacman-rm-unused='pacman -Qtdq | sudo pacman -Rns -'
|
|
alias checkupdates='checkupdates && paru -Qua'
|