fix nvim not highlithing bash env
This commit is contained in:
parent
0c1233871c
commit
dd9a9cf0b0
2 changed files with 8 additions and 2 deletions
|
@ -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))"'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Reference in a new issue