35 lines
606 B
Text
35 lines
606 B
Text
#
|
|
# ~/.bashrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
# Shell config
|
|
PS1='\[\033[0;32m\]\u@\h\[\033[0m\]:\[\033[1;34m\]\w\[\033[0m\]\$ '
|
|
|
|
# Environment
|
|
export PATH=$PATH:/home/nin0/go/bin:/home/nin0/.spicetify
|
|
|
|
# Aliases
|
|
alias ls='ls --color=auto'
|
|
alias grep='grep --color=auto'
|
|
|
|
alias pacman='sudo pacman'
|
|
alias p='paru'
|
|
alias pi='paru -S'
|
|
alias pu='paru -U'
|
|
alias pr='paru -R'
|
|
|
|
alias g='git'
|
|
alias gp='git push'
|
|
alias gc='git clone'
|
|
alias gpf!='git push --force'
|
|
|
|
alias allah,='sudo '
|
|
alias kys='halt'
|
|
|
|
# Inits
|
|
eval "$(zoxide init bash)"
|
|
eval "$(thefuck --alias)"
|