Compare commits
2 Commits
f6d8dd10aa
...
e87cec15a4
Author | SHA1 | Date | |
---|---|---|---|
e87cec15a4 | |||
06658cf559 |
@ -97,5 +97,16 @@
|
|||||||
|
|
||||||
echo "done."
|
echo "done."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function hb-configs {
|
||||||
|
curl --silent \
|
||||||
|
--location "https://hawkbit-smartcan.horsch.com/rest/v1/softwaremodules" \
|
||||||
|
--header "Content-Type: application/json" \
|
||||||
|
--header "Authorization: Basic ''$hawkbitToken" \
|
||||||
|
--data "q=type==configfs-smartcan" \
|
||||||
|
--data "sort=id:DESC" \
|
||||||
|
--get \
|
||||||
|
| jq | bat
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ cmp.setup({
|
|||||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||||
["<C-Space>"] = cmp.mapping.complete({}),
|
["<C-Space>"] = cmp.mapping.complete({}),
|
||||||
["<C-e>"] = cmp.mapping.abort(),
|
["<C-e>"] = cmp.mapping.abort(),
|
||||||
["<CR>"] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
|
["<CR>"] = cmp.mapping.confirm({ select = false }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
|
||||||
["<Tab>"] = cmp.mapping(function(fallback)
|
["<Tab>"] = cmp.mapping(function(fallback)
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
cmp.select_next_item()
|
cmp.select_next_item()
|
||||||
|
Reference in New Issue
Block a user