28 lines
503 B
Bash
28 lines
503 B
Bash
#
|
|
# ~/.bashrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
# Aliases
|
|
alias ls='ls --color=auto'
|
|
alias ll='ls -alhF'
|
|
alias grep='grep --color=auto'
|
|
alias fetch='fastfetch'
|
|
alias off='poweroff'
|
|
alias grub-update='sudo grub-mkconfig -o /boot/grub/grub.cfg'
|
|
|
|
|
|
# Theme
|
|
BLUE="\[\e[0;34m\]"
|
|
RED="\[\e[0;91m\]"
|
|
VIOLET="\[\e[0;35m\]"
|
|
GREEN="\[\e[0;32m\]"
|
|
YELLOW="\[\e[0;33m\]"
|
|
RESET="\[\e[0m\]"
|
|
|
|
PS1="[$VIOLET\u$RESET$GREEN@$RESET$RED\h$RESET $YELLOW\w$RESET]$BLUEλ$RESET "
|
|
|
|
|