17 lines
503 B
Bash
17 lines
503 B
Bash
source /etc/bashrc
|
|
|
|
# === environment ===
|
|
export PS1="\[\e[30;46m\] \h | \w \[\e[0;36m\]\[\e[m\] " \
|
|
EDITOR="nvim" \
|
|
WAYLAND_DISPLAY="wayland-0" \
|
|
XDG_RUNTIME_DIR="/run/user/1000" \
|
|
SSH_AUTH_SOCK="/run/user/1000/ssh-auth-sock" \
|
|
TZ="Europe/Amsterdam"
|
|
|
|
# === aliases and functions ===
|
|
alias vi=nvim
|
|
post() { curl -sF "content=<-" "https://paste.plabble.org/$2?lang=$1" && echo; }
|
|
random() { tr -dc "${2:-A-Za-z0-9!@#$%^&*}" < /dev/urandom | head -c "${1:-32}"; echo; }
|
|
|
|
eval "$(fzf --bash)"
|