Created
December 8, 2025 17:33
-
-
Save LTeder/d3c79313f32397a71a44028833fa9b8f to your computer and use it in GitHub Desktop.
A stock bashrc of mine using OMB, yazi, and fastfetch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias hg='history|grep' | |
| alias ffetch='fastfetch -c ~/.config/fastfetch/fastfetch.jsonc' | |
| # Enable the subsequent settings only in interactive sessions | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac | |
| # yazi shell wrapper | |
| function y() { | |
| local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd | |
| yazi "$@" --cwd-file="$tmp" | |
| IFS= read -r -d '' cwd < "$tmp" | |
| [ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd" | |
| rm -f -- "$tmp" | |
| } | |
| # Path to your oh-my-bash installation. | |
| export OSH='~/.oh-my-bash' | |
| # Set name of the theme to load. Optionally, if you set this to "random" | |
| # it'll load a random theme each time that oh-my-bash is loaded. | |
| OSH_THEME="font" | |
| # If you set OSH_THEME to "random", you can ignore themes you don't like. | |
| # OMB_THEME_RANDOM_IGNORED=("powerbash10k" "wanelo") | |
| # You can also specify the list from which a theme is randomly selected: | |
| # OMB_THEME_RANDOM_CANDIDATES=("font" "powerline-light" "minimal") | |
| # Uncomment the following line to use case-sensitive completion. | |
| # OMB_CASE_SENSITIVE="true" | |
| # Uncomment the following line to use hyphen-insensitive completion. Case | |
| # sensitive completion must be off. _ and - will be interchangeable. | |
| # OMB_HYPHEN_SENSITIVE="false" | |
| # Uncomment the following line to disable bi-weekly auto-update checks. | |
| DISABLE_AUTO_UPDATE="true" | |
| # Uncomment the following line to disable auto-setting terminal title. | |
| # DISABLE_AUTO_TITLE="true" | |
| # Uncomment the following line to enable command auto-correction. | |
| ENABLE_CORRECTION="true" | |
| # Uncomment the following line to display red dots whilst waiting for completion. | |
| COMPLETION_WAITING_DOTS="true" | |
| # Uncomment the following line if you want to disable marking untracked files | |
| # under VCS as dirty. This makes repository status check for large repositories | |
| # much, much faster. | |
| # DISABLE_UNTRACKED_FILES_DIRTY="true" | |
| # Uncomment the following line if you don't want the repository to be considered dirty | |
| # if there are untracked files. | |
| # SCM_GIT_DISABLE_UNTRACKED_DIRTY="true" | |
| # Uncomment the following line if you want to change the command execution time | |
| # stamp shown in the history command output. One of the following values can | |
| # be used to specify the timestamp format. | |
| # * 'mm/dd/yyyy' # mm/dd/yyyy + time | |
| # * 'dd.mm.yyyy' # dd.mm.yyyy + time | |
| # * 'yyyy-mm-dd' # yyyy-mm-dd + time | |
| # * '[mm/dd/yyyy]' # [mm/dd/yyyy] + [time] with colors | |
| # * '[dd.mm.yyyy]' # [dd.mm.yyyy] + [time] with colors | |
| # * '[yyyy-mm-dd]' # [yyyy-mm-dd] + [time] with colors | |
| # If not set, the default value is 'yyyy-mm-dd'. | |
| # HIST_STAMPS='yyyy-mm-dd' | |
| # Uncomment the following line if you do not want OMB to overwrite the existing | |
| # aliases by the default OMB aliases defined in lib/*.sh | |
| # OMB_DEFAULT_ALIASES="check" | |
| # To enable/disable display of Python virtualenv and condaenv | |
| # OMB_PROMPT_SHOW_PYTHON_VENV=true # enable | |
| # OMB_PROMPT_SHOW_PYTHON_VENV=false # disable | |
| # Which completions would you like to load? (completions can be found in ~/.oh-my-bash/completions/*) | |
| completions=( | |
| git | |
| ) | |
| # Which aliases would you like to load? (aliases can be found in ~/.oh-my-bash/aliases/*) | |
| aliases=( | |
| general | |
| ) | |
| # Which plugins would you like to load? (plugins can be found in ~/.oh-my-bash/plugins/*) | |
| plugins=( | |
| git | |
| colored-man-pages | |
| ) | |
| source "$OSH"/oh-my-bash.sh | |
| # Which plugins would you like to conditionally load? (plugins can be found in ~/.oh-my-bash/plugins/*) | |
| # Custom plugins may be added to ~/.oh-my-bash/custom/plugins/ | |
| # Example format: | |
| # if [ "$DISPLAY" ] || [ "$SSH" ]; then | |
| # plugins+=(tmux-autoattach) | |
| # fi | |
| # ssh | |
| # export SSH_KEY_PATH="~/.ssh/rsa_id" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment