Skip to content

Commit 4c1c319

Browse files
committed
feat: sync dotfiles
1 parent 12fd55c commit 4c1c319

File tree

7 files changed

+31
-15
lines changed

7 files changed

+31
-15
lines changed

config/bin/executable_exec-atlantis

100755100644
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#!/usr/bin/env bash
22

3-
ecs_task_id=$(aws --profile tu-ops ecs list-tasks --cluster atlantis | jq '.taskArns[0]' -r | sed 's|.*/||')
3+
export AWS_REGION=eu-west-1
44

5-
aws --profile tu-ops ecs execute-command \
6-
--region eu-west-1 \
7-
--cluster atlantis \
8-
--task "${ecs_task_id}" \
9-
--container atlantis \
10-
--command "/bin/bash" \
11-
--interactive
5+
ecs_task_id=$(aws --profile iris-operations ecs list-tasks --cluster atlantis | jq '.taskArns[0]' -r | sed 's|.*/||')
6+
7+
aws --profile iris-operations ecs execute-command \
8+
--region eu-west-1 \
9+
--cluster atlantis \
10+
--task "${ecs_task_id}" \
11+
--container atlantis \
12+
--command "/bin/bash" \
13+
--interactive
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
os:
2-
edit: 'lvim {{filename}}'
2+
edit: 'nvim {{filename}}'

config/private_dot_config/private_alacritty/alacritty.yml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ font:
3333
size: 12.0
3434

3535
bell:
36-
command: None
36+
duration: 0
3737

3838
scrolling:
3939
history: 0

config/private_dot_config/private_fish/conf.d/alias.fish.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ alias pbpaste 'xclip -selection clipboard -o'
1313
{{- end }}
1414

1515
# lunarvim
16-
alias vim lvim
16+
alias vim nvim
17+
alias vi nvim
1718

1819
# common
1920
if command -v tree > /dev/null

config/private_dot_config/private_fish/conf.d/functions.fish

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function fif --description="Using ripgrep combined with preview"
55
rg --files-with-matches --no-messages "$argv[1]" | fzf --preview \
66
"highlight -O ansi -l {} 2> /dev/null | rg --colors 'match:bg:yellow' \
77
--ignore-case --pretty --context 10 '$argv[1]' || rg --ignore-case \
8-
--pretty --context 10 '$argv[1]' {}" | xargs -o lvim
8+
--pretty --context 10 '$argv[1]' {}" | xargs -o nvim
99
end
1010
end
1111

@@ -19,9 +19,9 @@ function vdiff --description="Compare two files or dirs with vim"
1919
set --local right "$argv[2]"
2020

2121
if [ -d "$left" ] && [ -d "$right" ]
22-
lvim +"DirDiff $left $right"
22+
nvim +"DirDiff $left $right"
2323
else
24-
lvim -d "$left" "$right"
24+
nvim -d "$left" "$right"
2525
end
2626
end
2727
end

config/private_dot_config/private_git/config.tmpl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
[ghq "ssh://git@github.com/shmileee"]
2+
root = ~/private
13
[core]
2-
editor = lvim
4+
editor = nvim
35
excludesfile = ~/.config/git/ignore
46
[color "diff"]
57
whitespace = red reverse
@@ -19,6 +21,8 @@
1921
path = ~/.config/git/work
2022
[includeIf "gitdir:/tmp/**/**"]
2123
path = ~/.config/git/work
24+
[includeIf "gitdir:~/private/**"]
25+
path = ~/.config/git/personal
2226
[credential]
2327
helper = store
2428
[pull]
@@ -28,3 +32,5 @@
2832
defaultBranch = main
2933
[push]
3034
default = current
35+
[rerere]
36+
enabled = true
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
[user]
22
email = ponomarov.aleksandr@gmail.com
33
name = shmileee
4+
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICmPDgaUnEugEQdbio+K77tigQhwwlErx6jApEhR0tw8
5+
[gpg]
6+
format = ssh
7+
[gpg "ssh"]
8+
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
9+
[commit]
10+
gpgsign = true

0 commit comments

Comments
 (0)