Merge branch 'update-repos'
This commit is contained in:
commit
cce8541142
@ -93,6 +93,7 @@ let g:startify_list_order = [
|
|||||||
let g:python3_host_prog = '/usr/bin/python3'
|
let g:python3_host_prog = '/usr/bin/python3'
|
||||||
|
|
||||||
" Neomake
|
" Neomake
|
||||||
|
let g:neomake_python_exe = '/usr/bin/python3'
|
||||||
let g:neomake_python_enabled_makers = ['flake8', 'mypy']
|
let g:neomake_python_enabled_makers = ['flake8', 'mypy']
|
||||||
autocmd! BufWritePost * Neomake
|
autocmd! BufWritePost * Neomake
|
||||||
|
|
||||||
|
7
setup.sh
7
setup.sh
@ -5,6 +5,12 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|||||||
APT=`command -v apt`
|
APT=`command -v apt`
|
||||||
DNF=`command -v dnf`
|
DNF=`command -v dnf`
|
||||||
|
|
||||||
|
function update_pkg_repos() {
|
||||||
|
if [[ -n "$APT" ]]; then
|
||||||
|
sudo apt update
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
function check_or_install() {
|
function check_or_install() {
|
||||||
CMD=`command -v $1`
|
CMD=`command -v $1`
|
||||||
PKG=$2
|
PKG=$2
|
||||||
@ -105,6 +111,7 @@ function setup_topydo() {
|
|||||||
# Set up a generic bin directory for scripts and tools
|
# Set up a generic bin directory for scripts and tools
|
||||||
mkdir -p $HOME/bin
|
mkdir -p $HOME/bin
|
||||||
mkdir -p $HOME/.config
|
mkdir -p $HOME/.config
|
||||||
|
update_pkg_repos
|
||||||
install_build_tools
|
install_build_tools
|
||||||
setup_neovim
|
setup_neovim
|
||||||
setup_git
|
setup_git
|
||||||
|
Loading…
Reference in New Issue
Block a user