This commit is contained in:
Andrey Parhomenko 2024-08-15 07:44:36 +05:00
parent a907e76550
commit ec348f7d22
2 changed files with 16 additions and 6 deletions

View file

@ -73,11 +73,7 @@ if test "$OS" != "Windows_NT" ; then
PATH="$HOME/exe:$HOME/.local/bin:$PATH"
fi
# COMMON
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib64"
export LANG="en_US.UTF-8"
# Custom.
# Preconfig.
export APP="$HOME/app"
export BIN="$HOME/bin"
export LOAD="$HOME/load"
@ -85,8 +81,11 @@ fi
export PATH="$PATH:$BIN"
export GIT="https://surdeus.su"
export DEV="$HOME/dev"
export PATH="$PATH:$BIN"
# CLI.
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib64"
export LANG="en_US.UTF-8"
export LESS=""
export ENV="$HOME/.shrc"
export PROMPT="; "
@ -131,6 +130,7 @@ fi
export CLI_DMENU=`which-first fzf`
export CLI_FILE_MANAGER=`which-first lf`
# GUI programs.
export XCOMPOSER='river'
export XTERMINAL='kitty -1 --instance-group "$DISPLAY"'
export XINSIDE_TERMINAL='kitty -1 --instance-group "$DISPLAY"'
@ -198,7 +198,11 @@ manf() {
echo No 'no $CLI_DMENU env'
return 1
fi
man `man -k . | $CLI_DMENU -e -1 $(if test ! -z $@ ; then echo -- -q "$@" ; fi ) | awk '{print $1}'`
pagename=`man -k . | $CLI_DMENU -e -1 $(if test ! -z $@ ; then echo -- -q "$@" ; fi ) | awk '{print $1}'`
if test -z "$pagename" ; then
return 1
fi
man "$pagename"
}

View file

@ -5,6 +5,12 @@ vim.filetype.add({
},
})
vim.filetype.add({
extension = {
xgo = "tengo",
},
})
createAutoCmd = vim.api.nvim_create_autocmd
--
-- Basic thing for compiling languages.