diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..e888166 --- /dev/null +++ b/.bashrc @@ -0,0 +1,17 @@ +# +# ~/.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]\$ ' + +[[ $- == *i* ]] && source "$HOME/.local/share/blesh/ble.sh" --rcfile "$HOME/.blerc" + +# Set up fzf key bindings and fuzzy completion +eval "$(fzf --bash)" + +[[ ! ${BLE_VERSION-} ]] || ble-attach diff --git a/.blerc b/.blerc new file mode 100644 index 0000000..d9ee140 --- /dev/null +++ b/.blerc @@ -0,0 +1,11 @@ + +# set pager to use +bleopt pager=bat + +# editor to use +bleopt editor=nvim + +# The face used to show the suggested strings by auto completion. +# Make it more sublte than the default. +ble-face auto_complete='bg=default,fg=gray' +