Compare commits
No commits in common. "8b55c9279952bc56a96a2c04d341f7135a1e5910" and "f950284763ac3159a509eb29a865c28948d890e1" have entirely different histories.
8b55c92799
...
f950284763
@ -230,9 +230,6 @@ require'lspconfig'.yamlls.setup{
|
||||
["https://github.com/ansible/schemas/blob/main/f/ansible.json"] = "*.yaml,*.yml"
|
||||
}
|
||||
},
|
||||
yaml = {
|
||||
keyOrdering = false
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@ -614,7 +611,7 @@ autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
|
||||
autocmd BufRead,BufNewFile *.yaml let g:indentLine_enabled = 1
|
||||
autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙'
|
||||
au BufRead,BufNewFile *.yaml,*.yml if search('hosts:\|tasks:', 'nw') | set ft=yaml.ansible | endif
|
||||
autocmd BufWritePre * silent! undojoin | Neoformat prettier
|
||||
" autocmd BufWritePre * silent! undojoin | Neoformat prettier
|
||||
|
||||
" GoLang
|
||||
autocmd BufRead *.go set noexpandtab
|
||||
|
@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
# shellcheck disable=2045,2086
|
||||
|
||||
function timestamp() {
|
||||
echo "[+] $(date +'%F %T') [INFO] $*"
|
||||
@ -25,6 +24,10 @@ function install_neovim_module_for_python() {
|
||||
pip3 install neovim --pre --user --force
|
||||
}
|
||||
|
||||
function install_awscli() {
|
||||
pip3 install awscli --pre --user --force
|
||||
}
|
||||
|
||||
function install_pyright() {
|
||||
# Install pyright
|
||||
sudo npm -g i pyright --force
|
||||
@ -94,21 +97,6 @@ function install_azure_cli() {
|
||||
pip3 install azure-cli --user --pre --force
|
||||
}
|
||||
|
||||
function install_awscli() {
|
||||
pip3 install awscli --pre --user --force
|
||||
}
|
||||
|
||||
function update_zsh() {
|
||||
for i in $(ls $HOME/.config/zsh); do
|
||||
FOLDER="$HOME/.config/zsh/$i"
|
||||
git pull
|
||||
cd "$FOLDER" || echo "Folder is not exists"
|
||||
done
|
||||
ZSHFOLDER="$HOME/.config/zsh/"
|
||||
curl https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/plugins/aws/aws.plugin.zsh -o "$ZSHFOLDER"/aws/aws.plugin.zsh
|
||||
curl https://raw.githubusercontent.com/Azure/azure-cli/dev/az.completion -o "$ZSHFOLDER"/azure-cli/az.completion
|
||||
}
|
||||
|
||||
function main() {
|
||||
command_start update_pip
|
||||
command_start install_pyright
|
||||
@ -123,7 +111,6 @@ function main() {
|
||||
command_start install_black
|
||||
command_start install_ansible
|
||||
command_start install_meraki_ansible
|
||||
command_start update_zsh
|
||||
}
|
||||
|
||||
main
|
||||
|
Loading…
Reference in New Issue
Block a user