raylu преди 3 месеца
родител
ревизия
410872ff61
променени са 4 файла, в които са добавени 14 реда и са изтрити 3 реда
  1. 4 1
      config/jj/config.toml
  2. 1 1
      config/kitty/kitty.conf
  3. 3 1
      gitconfig
  4. 6 0
      zshrc

+ 4 - 1
config/jj/config.toml

@@ -11,9 +11,12 @@ diff-formatter = ':git' # https://jj-vcs.github.io/jj/latest/config/#processing-
 [signing] # https://jj-vcs.github.io/jj/latest/config/#automatically-signing-commits
 behavior = 'drop'
 backend = 'ssh'
-backends.ssh.allowed-signers = '~/.ssh/allowed-signers'
 key = '~/.ssh/id_ed25519.pub'
 
+[signing.backends.ssh]
+allowed-signers = '~/.ssh/allowed-signers'
+program = 'ssh-keygen.exe'
+
 [git]
 sign-on-push = true
 

+ 1 - 1
config/kitty/kitty.conf

@@ -1142,7 +1142,7 @@ linux_display_server auto
 
 #:     map ctrl+f>2 set_font_size 20
 
-kitty_mod super
+kitty_mod alt
 
 #: The value of kitty_mod is used as the modifier for all default
 #: shortcuts, you can change it in your kitty.conf to change the

+ 3 - 1
gitconfig

@@ -1,11 +1,12 @@
 [user]
 	name = raylu
 	email = 90059+raylu@users.noreply.github.com
-	signingkey = ~/.ssh/id_ed25519.pub
+	signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMQyY8qhakFYLJY4kEXuWMclyBCIz0uzvMEEhB7o+czr
 
 [gpg]
 	format = ssh
 [gpg "ssh"]
+	program = "/mnt/c/Users/raylu/AppData/Local/1Password/app/8/op-ssh-sign-wsl"
 	allowedSignersFile = ~/.ssh/allowed_signers
 [commit]
 	gpgsign = true
@@ -43,6 +44,7 @@
 	editor = vi
 	pager = delta
 	precomposeUnicode = true
+	sshCommand = ssh.exe
 
 [feature]
 	manyFiles = true

+ 6 - 0
zshrc

@@ -260,4 +260,10 @@ if builtin which fzf > /dev/null; then
 	bindkey '^S' fzf-rg-widget
 fi
 
+printf '\e[?12l' # make windows terminal stop blinking the cursor
+alias ssh='ssh.exe'
+alias ssh-add='ssh-add.exe'
+alias scp='scp.exe'
+[ -f $HOME/.wezterm.sh ] && source $HOME/.wezterm.sh
+
 stty stop undef