helix arduino nushell snapper
This commit is contained in:
parent
8da10747bf
commit
333fc943df
6 changed files with 32 additions and 20 deletions
|
|
@ -54,6 +54,7 @@
|
|||
language = [
|
||||
{
|
||||
name = "arduino";
|
||||
grammar = "arduino";
|
||||
scope = "source.arduino";
|
||||
injection-regex = "arduino";
|
||||
file-types = ["ino" "cpp" "h"];
|
||||
|
|
@ -67,7 +68,7 @@
|
|||
auto-format = true;
|
||||
formatter = {
|
||||
command = "clang-format";
|
||||
args = ["--style=file:/home/tao/Templates/clang-format"];
|
||||
args = ["--style=file:/home/tao/templates/clang-format"];
|
||||
};
|
||||
}
|
||||
{
|
||||
|
|
@ -75,7 +76,7 @@
|
|||
auto-format = true;
|
||||
formatter = {
|
||||
command = "clang-format";
|
||||
args = ["--style=file:/home/tao/Templates/clang-format"];
|
||||
args = ["--style=file:/home/tao/templates/clang-format"];
|
||||
};
|
||||
indent = {
|
||||
tab-width = 8;
|
||||
|
|
@ -87,7 +88,7 @@
|
|||
auto-format = true;
|
||||
formatter = {
|
||||
command = "clang-format";
|
||||
args = ["--style=file:/home/tao/Templates/clang-format"];
|
||||
args = ["--style=file:/home/tao/templates/clang-format"];
|
||||
};
|
||||
indent = {
|
||||
tab-width = 8;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ def l [
|
|||
path?
|
||||
flags?
|
||||
] {
|
||||
if $path {
|
||||
if $path != null {
|
||||
ls $path
|
||||
} else {
|
||||
ls
|
||||
|
|
@ -21,7 +21,7 @@ def l [
|
|||
}
|
||||
|
||||
def tse [exit_node?] {
|
||||
if exit_node {
|
||||
if $exit_node != null {
|
||||
tailscale set --exit-node $exit_node
|
||||
} else {
|
||||
tailscale set --exit-node=""
|
||||
|
|
@ -34,7 +34,7 @@ def rb [] {
|
|||
}
|
||||
|
||||
def rs [] {
|
||||
sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose
|
||||
sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose
|
||||
hx --grammar fetch; hx --grammar build
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue