48 lines
899 B
Bash
48 lines
899 B
Bash
# ~/.bashrc
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
PS1='[\u@\h \W]\$ '
|
|
|
|
# SYSTEM
|
|
alias c='clear'
|
|
alias nf='neofetch'
|
|
alias pf='pfetch'
|
|
alias ls='exa -al'
|
|
alias shutdown='systemctl poweroff'
|
|
alias v='nvim'
|
|
alias vi='nvim'
|
|
alias vim='nvim'
|
|
alias rw='~/dotfiles/waybar/reload.sh'
|
|
|
|
# GIT
|
|
alias gs="git status"
|
|
alias ga="git add"
|
|
alias gc="git commit -m"
|
|
alias gp="git push"
|
|
alias gpl="git pull"
|
|
alias gst="git stash"
|
|
alias gsp="git stash; git pull"
|
|
alias gcheck="git checkout"
|
|
|
|
# SCRIPTS
|
|
alias gr='python ~/dotfiles/scripts/growthrate.py'
|
|
|
|
alias res1='xrandr --output DisplayPort-0 --mode 2560x1440 --rate 120'
|
|
alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120'
|
|
|
|
export PATH="/usr/lib/ccache/bin/:$PATH"
|
|
|
|
# START STARSHIP
|
|
eval "$(starship init bash)"
|
|
|
|
# PYWAL
|
|
cat ~/.cache/wal/sequences
|
|
|
|
export VISUAL=nvim;
|
|
export EDITOR=nvim;
|
|
|
|
|
|
echo ""
|
|
pfetch
|