bals
This commit is contained in:
parent
148bb4a1b6
commit
6f2930f441
3 changed files with 30 additions and 4 deletions
25
.config/nvim/lua/adam/ensure.lua
Normal file
25
.config/nvim/lua/adam/ensure.lua
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
local ensure_packer = function()
|
||||||
|
local fn = vim.fn
|
||||||
|
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
|
||||||
|
if fn.empty(fn.glob(install_path)) > 0 then
|
||||||
|
fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
||||||
|
vim.cmd [[packadd packer.nvim]]
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
|
local packer_bootstrap = ensure_packer()
|
||||||
|
|
||||||
|
return require('packer').startup(function(use)
|
||||||
|
use 'wbthomason/packer.nvim'
|
||||||
|
-- My plugins here
|
||||||
|
-- use 'foo1/bar1.nvim'
|
||||||
|
-- use 'foo2/bar2.nvim'
|
||||||
|
|
||||||
|
-- Automatically set up your configuration after cloning packer.nvim
|
||||||
|
-- Put this at the end after all plugins
|
||||||
|
if packer_bootstrap then
|
||||||
|
require('packer').sync()
|
||||||
|
end
|
||||||
|
end)
|
|
@ -1,3 +1,4 @@
|
||||||
require('adam.set')
|
require('adam.set')
|
||||||
require('adam.remap')
|
require('adam.remap')
|
||||||
|
require('adam.ensure')
|
||||||
require('adam.packer')
|
require('adam.packer')
|
||||||
|
|
|
@ -6,7 +6,7 @@ It's a bootstrap script for my personal desktop environment that is:
|
||||||
|
|
||||||
1. Reliable
|
1. Reliable
|
||||||
1. Fast
|
1. Fast
|
||||||
1. Made from off as many off the shelf parts as possible
|
1. Made from readily available components
|
||||||
1. Simple (see above)
|
1. Simple (see above)
|
||||||
1. Decent looking
|
1. Decent looking
|
||||||
|
|
||||||
|
@ -25,16 +25,16 @@ If you want recommendations for archinstall I'll say:
|
||||||
|
|
||||||
Shell install also works on Ubuntu Server 22.04 so it should work on any buntu or Mint, Pop, etc. and maybe Debian too
|
Shell install also works on Ubuntu Server 22.04 so it should work on any buntu or Mint, Pop, etc. and maybe Debian too
|
||||||
|
|
||||||
### Quick shell:
|
### Quick shell(start here):
|
||||||
As your new user in your new user's home directory run: (will overwrite some user files)
|
As your new user in your new user's home directory run: (will overwrite some user files)
|
||||||
|
|
||||||
1. ```curl -s https://doordesk.net/setup | bash```
|
1. ```curl -s https://doordesk.net/setup | bash```
|
||||||
|
|
||||||
2. Log out and log back in
|
2. Log out and log back in
|
||||||
|
|
||||||
Minimum install is the default, if you want a graphical environment run:
|
Minimum install is the default, if you want a graphical environment run: (Arch only)
|
||||||
|
|
||||||
`.scripts/installdeps_full`
|
`.scripts/doors/.installdeps_full_arch`
|
||||||
|
|
||||||
to get the rest and then:
|
to get the rest and then:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue