Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## ~/.bashrc
- ## Some customization came from https://bluz71.github.io/2023/06/02/maximize-productivity-of-the-bash-shell.html
- # fzf
- if command -v fzf-share >/dev/null; then
- source "$(fzf-share)/key-bindings.bash"
- fi
- # - autocd - change directory without entering the 'cd' command
- # - cdspell - automatically fix directory typos when changing directory
- # - direxpand - automatically expand directory globs when completing
- # - dirspell - automatically fix directory typos when completing
- # - globstar - ** recursive glob
- # - histappend - append to history, don't overwrite
- # - histverify - expand, but don't automatically execute, history expansions
- # - nocaseglob - case-insensitive globbing
- # - no_empty_cmd_completion - do not TAB expand empty lines
- shopt -s autocd cdspell direxpand dirspell globstar histappend histverify \
- nocaseglob no_empty_cmd_completion
- HISTCONTROL=ignoreboth:erasedups # Ignore and erase duplicates
- HISTIGNORE=?:?? # Ignore one and two letter commands
- PROMPT_COMMAND="history -a; history -n" # Share history between concurrent Bash sessions
- # fzf-obc
- source /etc/profiles/per-user/anifyuli/share/fzf-obc/bin/fzf-obc.bash
- # fzf coloring
- export FZF_DEFAULT_OPTS='--color=bw'
- source ~/.bash/themes/aphrodite/aphrodite.theme.sh # Use Aphrodite prompt theme
- # Android SDK path
- export ANDROID_HOME=$HOME/.android/sdk
- export PATH=$ANDROID_HOME/cmdline-tools/tools/bin/:$PATH
- export PATH=$ANDROID_HOME/emulator/:$PATH
- export PATH=$ANDROID_HOME/platform-tools/:$PATH
- # pnpm
- export PNPM_HOME="/home/anifyuli/.local/share/pnpm"
- case ":$PATH:" in
- *":$PNPM_HOME:"*) ;;
- *) export PATH="$PNPM_HOME:$PATH" ;;
- esac
- # pnpm end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement