Commit graph

45 commits

Author SHA1 Message Date
Pocco81
acceccda87 accept both args and flags 2021-08-03 23:09:18 -05:00
Pocco81
bbbd73fc56 basic parser 2021-08-03 22:38:03 -05:00
Pocco81
668f1d5623 skeleton for new install script 2021-08-02 21:23:20 -05:00
Daniel M. Matongo
9ba08bf788
update _CONFIG_PATH 2021-07-29 05:27:08 +00:00
Daniel M. Matongo
dcf5d64437
add XDG_CONFIG_HOME
I tried installing it on my system and it failed mostly because the NvChad was by default installed to the `.config` directory. I use a custom dir for my `XDG_CONFIG_HOME` so I figured if anyone has the same issue this would be an easy way to have it not work for them, the fallback dir here is `.config` if the user has not set a custom one.
2021-07-28 19:16:32 +00:00
vlad doster
e197049a59
Merge branch 'main' into patch-1 2021-07-27 16:30:24 -05:00
Akianonymus
3fc587b54d install.sh: Use chsh instead of grep /etc/shells 2021-07-23 18:07:30 +05:30
vlad doster
756713b9c3
(maint): update conditional check and log message
- Use more appropriate `-n` flag
- Reword log message
2021-07-23 04:17:57 -05:00
Galen Rowell
15f20e8437 better shell setup scripting 2021-07-20 19:41:50 +10:00
Akianonymus
2e1d53971e install.sh: More automation 2021-07-19 20:35:10 +05:30
Akianonymus
1e658562f0 install.sh: Run PackerSync from script after install too
as the corresponding code for that was removed from init.lua
2021-07-19 07:20:22 +05:30
Akianonymus
35b210b46a install.sh: Don't ask for terminal shell when updating | Misc
Handle a edgecase for config copying

Remove an unnecessary print
2021-07-16 21:00:28 +05:30
Akianonymus
d1f23d1bc3 [4/4] Refactor: install.sh: Don't handle packer
use +":lua require 'pluginList' vim.cmd('PackerSync')"
only for update as PackerSync should trigger on fresh install automatically
2021-07-16 20:59:17 +05:30
Akianonymus
c38c4ec0cf install.sh: Do shallow clone for packer.nvim 2021-07-13 14:13:33 +05:30
siduck76
0bbb88f6db typo 2021-07-09 16:54:40 +05:30
Akianonymus
e71b9bbece install.sh: Refactor install script, Add new flags
Giving either --install or --update flag is neccessary for the script to proceed

    -i | --install       => Install the config.

    -u | --update        => Update the existing config without removing existing stuff.

    -b | --backup 'path' => Custom config backup path.

    -nb | --no-backup    => Don't take existing config backup. Use with caution.

Update formatting using following command
    shfmt -i 2 -sr -p -bn -ci -w install.sh
2021-07-09 14:31:47 +05:30
Akianonymus
27e3cf69bc install.sh: Fix all shellcheck warnings | Misc improvements
* modify sed command to work in both gnu sed and mac os sed

    https://stackoverflow.com/a/4247319

* use printf everywhere for more compatibility

* add some error checking
2021-07-05 15:00:12 +05:30
ashincoder
4631fbcf4c
removed -e flags in script
I removed -e flags of echoes as it not useful in the posix script
2021-06-29 15:09:03 +05:30
siduck76
4dde80f315
Update install.sh 2021-06-28 21:23:50 +05:30
Henri
087e4e8acc
Update install.sh
Gave up and decided to clone the config and reinstall over my previous install to add later. Made the following modifications:
1 - removed the extra echos (use echo -e "\n some line " in the future)
2 - packer doesn't install if there's a previously installed packer folder. So the bash script purges the previous packer folder and starts anew.


tested the config correctly
2021-06-27 12:02:56 -07:00
siduck76
5f676ffbdb
Update install.sh 2021-06-26 07:35:33 +05:30
ashincoder
3879718cea changed script to mv nvim to nvim.bak instead of deleting it 2021-06-15 14:35:23 +05:30
siduck76
b6acd21b0a install.sh : clean it (since LspInstall is used) 2021-06-07 09:58:55 +05:30
Henri Vandersleyen
81b72adbdf
added lua language WORKS FOR LINUX ONLY. 2021-05-10 10:00:41 -07:00
siduck76
d27da21cef add json lsp 2021-05-09 13:49:16 +05:30
siduck76
e2dbec7496 made bufferline tabs look better 2021-05-06 19:49:02 +05:30
marvelman3284
7cb7851868 Fix a smaller error that prevents the changing of shells 2021-05-05 09:55:41 -04:00
siduck76
5e8e124b4e install npm pkgs globally by local prefix 2021-05-01 12:02:40 +05:30
siduck76
c09c0ebc3a lspconfig : add bash lsp 2021-04-26 13:56:27 +05:30
mTvare
aafea2b6f4
use gnu sed in mac 2021-04-24 18:21:13 +05:30
siduck76
ac6afa334b minor changes 2021-04-12 16:37:15 +05:30
siduck76
f5c59c574a replace pyls with pyright 2021-04-08 07:29:39 +05:30
siduck76
baa5cb87ea Merge branch 'main' of github.com:siduck76/neovim-dots 2021-04-06 09:35:27 +05:30
siduck76
3865b28f6d install.sh : prompt users for shell 2021-04-06 09:35:22 +05:30
marvelman3284
bc9649e653 Allow for users to choose which lsps to install 2021-04-05 23:51:51 -04:00
Alexander Serowy
3a917ee683 made mkdir more robust 2021-04-01 14:00:32 +02:00
Alexander Serowy
43b1289a82 fixed 2021-04-01 13:57:15 +02:00
Alexander Serowy
8996ff7f59 fixed paste bug 2021-04-01 13:54:10 +02:00
Alexander Serowy
138b0cbac3 added pip3 to validation 2021-04-01 13:40:38 +02:00
marvelman3284
9e0f8b87fa Add support for the python language server 2021-03-31 04:05:15 -04:00
siduck76
c70813d96a fix install script 2021-03-28 23:20:53 +05:30
siduck76
669ad346e9 minor changes 2021-03-27 08:20:15 +05:30
siduck76
0fb4ffdc93 install lsp servers globally 2021-03-20 11:46:40 +05:30
jack
3abb3ed97e fix(install): add css and html to default_lsp_langs 2021-03-19 13:31:09 +10:30
jack
959e7ab631 add install script 2021-03-19 12:12:44 +10:30