fix nvim not highlithing bash env

This commit is contained in:
Night Kaly 2024-02-29 19:28:16 +00:00
parent 0c1233871c
commit dd9a9cf0b0
No known key found for this signature in database
GPG key ID: 8E829D3381CFEBBE
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,4 @@
. "${HOME}/.config/bash/.bashenv"
. "${HOME}/.config/bash/env.bash"
if lsmod | grep -wq "pcspkr"; then
sudo rmmod pcspkr # Remove annoying beep sound in tty
@ -51,6 +51,10 @@ lfcd() {
fi
}
f() {
fff "$@"
cd "$(cat "${XDG_CACHE_HOME:=${HOME}/.cache}/fff/.fff_d")"
}
bind -x '"\C-f":"lfcd"'
bind -x '"\C-o":"cd $(dirname $(find . -name .git -prune -o -type f | fnf))"'

View file

@ -6,19 +6,21 @@ export BROWSER="firefox"
# Adds ~/.local/bin and subfolders to $PATH
export PATH="$PATH:$HOME/.autojump/bin:$HOME/.autojump/functions:~/.local/npm/bin:$(find ~/.local/bin -maxdepth 1 -type d -printf '%p:' | sed 's/:$//')"
# cleaning up home folder
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CACHE_HOME="$HOME/.cache"
#export LESSHISTFILE="-"
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
export GIT_CONFIG="$HOME/.config/git/config"
export PASSWORD_STORE_DIR="$HOME/.nky/Me/pass"
export GPG_TTY=$(tty)
export DEBUGINFOD_URLS="https://debuginfod.archlinux.org/"
export NNN_FIFO=/tmp/nnn.fifo
export NNN_PLUG='p:preview'
export LC_ALL=en_US.UTF-8