One last thing missing when moving over from zsh (with an oh-my-zsh setup) was some shell command syntax highlighting and suggestions (auto-completion etc.). Bash Line Editor (ble.sh) works well there (for me).
Have built and installed from source, as documented.
Sample .bashrc:
# Omakub
source ~/.local/share/omakub/defaults/bash/rc
# ble.sh
[[ $- == *i* ]] && source ~/.local/share/blesh/ble.sh --noattach
# Add Git info to default Omakub prompt
PS1=$'\uf0a9 '
PS1="\[\e]0;\w\$(GIT_PS1_SHOWUNTRACKEDFILES=1 GIT_PS1_SHOWDIRTYSTATE=1 __git_ps1)\a\]$PS1"
# Editor used by CLI
export EDITOR="nvim"
export SUDO_EDITOR="$EDITOR"
source "$HOME/.cargo/env"
alias pbcopy="xclip -sel clip"
alias idea="intellij-idea-ultimate"
# ble.sh
[[ ! ${BLE_VERSION-} ]] || ble-attach
Accompanying .blerc:
# blerc
# If ble/contrib/integration/fzf cannot find the fzf directory, please set the
# following variable "_ble_contrib_fzf_base" manually. The value
# "/path/to/fzf-directory" should be replaced by a path to the fzf directory
# such as "$HOME/.fzf" or "/usr/share/fzf" that contain
# "shell/{completion,key-bindings}.bash" or "{completion,key-bindings}.bash".
#_ble_contrib_fzf_base=/path/to/fzf-directory
# Note: If you would like to combine fzf-completion with bash_completion, you
# need to load bash_completion earlier than fzf-completion.
#source /path/to/bash_completion.sh
# Set up fzf
ble-import -d integration/fzf-completion
ble-import -d integration/fzf-key-bindings
One last thing missing when moving over from
zsh
(with anoh-my-zsh
setup) was some shell command syntax highlighting and suggestions (auto-completion etc.).Bash Line Editor (ble.sh) works well there (for me).
Have built and installed from source, as documented.
Sample
.bashrc
:Accompanying
.blerc
: