...
This commit is contained in:
parent
a907e76550
commit
ec348f7d22
2 changed files with 16 additions and 6 deletions
|
@ -73,11 +73,7 @@ if test "$OS" != "Windows_NT" ; then
|
||||||
PATH="$HOME/exe:$HOME/.local/bin:$PATH"
|
PATH="$HOME/exe:$HOME/.local/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# COMMON
|
# Preconfig.
|
||||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib64"
|
|
||||||
export LANG="en_US.UTF-8"
|
|
||||||
|
|
||||||
# Custom.
|
|
||||||
export APP="$HOME/app"
|
export APP="$HOME/app"
|
||||||
export BIN="$HOME/bin"
|
export BIN="$HOME/bin"
|
||||||
export LOAD="$HOME/load"
|
export LOAD="$HOME/load"
|
||||||
|
@ -85,8 +81,11 @@ fi
|
||||||
export PATH="$PATH:$BIN"
|
export PATH="$PATH:$BIN"
|
||||||
export GIT="https://surdeus.su"
|
export GIT="https://surdeus.su"
|
||||||
export DEV="$HOME/dev"
|
export DEV="$HOME/dev"
|
||||||
|
export PATH="$PATH:$BIN"
|
||||||
|
|
||||||
# CLI.
|
# CLI.
|
||||||
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib64"
|
||||||
|
export LANG="en_US.UTF-8"
|
||||||
export LESS=""
|
export LESS=""
|
||||||
export ENV="$HOME/.shrc"
|
export ENV="$HOME/.shrc"
|
||||||
export PROMPT="; "
|
export PROMPT="; "
|
||||||
|
@ -131,6 +130,7 @@ fi
|
||||||
export CLI_DMENU=`which-first fzf`
|
export CLI_DMENU=`which-first fzf`
|
||||||
export CLI_FILE_MANAGER=`which-first lf`
|
export CLI_FILE_MANAGER=`which-first lf`
|
||||||
|
|
||||||
|
# GUI programs.
|
||||||
export XCOMPOSER='river'
|
export XCOMPOSER='river'
|
||||||
export XTERMINAL='kitty -1 --instance-group "$DISPLAY"'
|
export XTERMINAL='kitty -1 --instance-group "$DISPLAY"'
|
||||||
export XINSIDE_TERMINAL='kitty -1 --instance-group "$DISPLAY"'
|
export XINSIDE_TERMINAL='kitty -1 --instance-group "$DISPLAY"'
|
||||||
|
@ -198,7 +198,11 @@ manf() {
|
||||||
echo No 'no $CLI_DMENU env'
|
echo No 'no $CLI_DMENU env'
|
||||||
return 1
|
return 1
|
||||||
fi
|
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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,12 @@ vim.filetype.add({
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
vim.filetype.add({
|
||||||
|
extension = {
|
||||||
|
xgo = "tengo",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
createAutoCmd = vim.api.nvim_create_autocmd
|
createAutoCmd = vim.api.nvim_create_autocmd
|
||||||
--
|
--
|
||||||
-- Basic thing for compiling languages.
|
-- Basic thing for compiling languages.
|
||||||
|
|
Loading…
Reference in a new issue