fix blesh and atuin
This commit is contained in:
11
home/bashrc
11
home/bashrc
@@ -1,9 +1,18 @@
|
|||||||
#
|
#
|
||||||
# ~/.bashrc
|
# ~/.bashrc
|
||||||
#
|
#
|
||||||
|
# for interactive non login shells
|
||||||
|
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
# Add this lines at the top of .bashrc:
|
||||||
|
[[ $- == *i* ]] && source /usr/share/blesh/ble.sh --noattach
|
||||||
|
|
||||||
|
if [[ $- == *i* ]]; then # in interactive session
|
||||||
|
# vim mode
|
||||||
|
set -o vi
|
||||||
|
fi
|
||||||
|
|
||||||
colors() {
|
colors() {
|
||||||
local fgc bgc vals seq0
|
local fgc bgc vals seq0
|
||||||
|
|
||||||
@@ -140,3 +149,5 @@ fi
|
|||||||
|
|
||||||
src_files "$HOME/.profile.d" "$HOME/.bashrc.d"
|
src_files "$HOME/.profile.d" "$HOME/.bashrc.d"
|
||||||
|
|
||||||
|
[[ ${BLE_VERSION-} ]] && ble-attach
|
||||||
|
|
||||||
|
|||||||
@@ -53,5 +53,6 @@ sudo pacman -S --noconfirm bat
|
|||||||
sudo pacman -S --noconfirm fd
|
sudo pacman -S --noconfirm fd
|
||||||
|
|
||||||
# atuin
|
# atuin
|
||||||
yay -S --noconfirm atuin blesh
|
yay -S --noconfirm blesh-git # version >=0.4 is necessary
|
||||||
|
yay -S --noconfirm atuin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user