# # ~/.bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return # alias ls='ls --color=auto' # alias grep='grep --color=auto' # PS1='[\u@\h \W]\$ ' # opencode export PATH=$HOME/.opencode/bin:$PATH alias sudo='doas' if [ -z "$FISH_AUTO_STARTED" ]; then # Export a flag so that any Bash launched from fish knows not to # re‑exec fish again. export FISH_AUTO_STARTED=1 # Replace this Bash process with fish. exec fish fi # ------------------------------------------------------------------ # Your normal Bash customisations can go after this point. # They will be sourced only when you are really using Bash. # ------------------------------------------------------------------ # Example: enable colour prompt force_color_prompt=yes if [ -n "$force_color_prompt" ]; then PS1='\[\e[0;32m\]\u@\h \[\e[0;34m\]\w\[\e[0m\]\$ ' fi