21 lines
594 B
Bash
21 lines
594 B
Bash
. /etc/bashrc
|
|
|
|
# === environment ===
|
|
export EDITOR=hx \
|
|
WAYLAND_DISPLAY=wayland-0 \
|
|
XDG_RUNTIME_DIR=/run/user/1000 \
|
|
SSH_AUTH_SOCK=/run/user/1000/ssh-auth-sock \
|
|
PS1="\[\e[30;46m\] \h | \w \[\e[0;36m\]\[\e[m\] " \
|
|
TZ="Europe/Amsterdam"
|
|
|
|
# === aliases and functions ===
|
|
pbcopy() { curl -sF "content=<-" "https://paste.plabble.org/$2?lang=$1" && echo; }
|
|
alias random="cat /dev/urandom | tr -dc '[:alpha:]' | fold -w ${1:-20} | head -n 1"
|
|
|
|
# Git aliases
|
|
alias gc="git commit -m"
|
|
alias ga="git add -A"
|
|
alias gf="git fetch"
|
|
alias gp="git pull"
|
|
alias gpp="git push"
|
|
alias gs="git status" |