devcontainer/config/user/bashrc
Job79 ece5e86a16
All checks were successful
Container build / container-build (push) Successful in 5m16s
feat(bashrc): setup fzf shell integration
2024-12-19 19:54:53 +01:00

15 lines
417 B
Bash

. /etc/bashrc
# === environment ===
export EDITOR=nvim \
WAYLAND_DISPLAY=wayland-0 \
XDG_RUNTIME_DIR=/run/user/1000 \
SSH_AUTH_SOCK=/run/user/1000/ssh-auth-sock \
PS1='\[\e[30;46m\] container | \w \[\e[0;36m\]\[\e[m\] '
# === aliases and functions ===
alias vi=nvim
post() { curl -sF "content=<-" "https://paste.plabble.org/$2?lang=$1" && echo; }
eval "$(zoxide init --cmd cd bash)"
eval "$(fzf --bash)"