From 9a540319df87f8df75266dec9986e1735a44a226 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Mon, 8 Jul 2024 16:55:19 -0300 Subject: update more stuff --- modules/emacs/README.org | 2 +- secrets/authinfo.age | Bin 1032 -> 888 bytes secrets/personal-mail.age | Bin 561 -> 561 bytes secrets/university-mail.age | Bin 561 -> 561 bytes secrets/user-pass.age | 21 +++++++++++---------- secrets/user-ssh-key.age | Bin 953 -> 953 bytes secrets/work-mail.age | Bin 561 -> 561 bytes users/leonardo.nix | 28 ++-------------------------- 8 files changed, 14 insertions(+), 37 deletions(-) diff --git a/modules/emacs/README.org b/modules/emacs/README.org index 4e14603..a8eb7eb 100644 --- a/modules/emacs/README.org +++ b/modules/emacs/README.org @@ -212,7 +212,7 @@ Completion popup system #+end_src ** Vterm #+begin_src emacs-lisp :tangle yes -(use-package vterm) +(use-package eat) #+end_src ** Compilation Add support for ansi escape codes in compilation diff --git a/secrets/authinfo.age b/secrets/authinfo.age index 2ea6be2..223c1b4 100644 Binary files a/secrets/authinfo.age and b/secrets/authinfo.age differ diff --git a/secrets/personal-mail.age b/secrets/personal-mail.age index 113b920..33fb9e4 100644 Binary files a/secrets/personal-mail.age and b/secrets/personal-mail.age differ diff --git a/secrets/university-mail.age b/secrets/university-mail.age index bc0f740..7265206 100644 Binary files a/secrets/university-mail.age and b/secrets/university-mail.age differ diff --git a/secrets/user-pass.age b/secrets/user-pass.age index f11db04..fbff2b1 100644 --- a/secrets/user-pass.age +++ b/secrets/user-pass.age @@ -1,11 +1,12 @@ age-encryption.org/v1 --> ssh-ed25519 6bbh4g Quhi79P4Ui1DquQD3wg85VRlKFPmQNa40Xtgcvjz0io -Or5WjD5h4bm56VpukgU15Bypa0jSTQVrZHOl3tzhLnc --> ssh-ed25519 VsDKrw dDP67IJunzKJ42JxDAodGOreZwCOPJ1vESUODxy5ekM -uPtMDCqEzZnJY6P+KiX0BgQQs4xieuRE6o8Ui/ryFK0 --> ssh-ed25519 AcegYA mj4oztTYGGxqWXporcijTFOK65RgUhM/rCYWH2xuqA8 -390RanHG/esBCmjlHw/GRbozQh7UDrQj25WpN3X9S+w --> ssh-ed25519 HMNWnw 7B5BmDw6QR58egtzDGKaQLHzvkkxO4pkyKas9YW9ugc -XKVwLyF0yhXePbVSQGX1H+xxc5gp2Jf7R+NpkMHpRQo ---- rWdu3/N1QKDiu2qvpNizrZMj/3V1NI1IX59aqB5r6Bo -Nt(\]ߊ?TW֞E >mYpi uv֓1-46!G* S%M V$țIկOl6TA5ԶzQ \ No newline at end of file +-> ssh-ed25519 6bbh4g RLzMUdJo4fNl5Pt3Bfrc1h6f/g7ZnbXCVZYzKtCdc0E +msXwOrGwApKJ1wPB2IwtJb/8KmWQWTWmXHkmwCJgywY +-> ssh-ed25519 VsDKrw F3FoKxZx5zQfRkDOUwwpMYgLxT409t92cD8lZDQkDAc +cN0ckxaLdoKEj47LhlVMYCXrZJPn5rBe/eYqwi1YG/Y +-> ssh-ed25519 AcegYA /b901V1aFQRau4gkFZCZI1iaMUMRVAH+IgV9amZldxE +cLS9vh5nCYR59Sw0f7oqbgqEqgEXvZJsipWrAtROGPU +-> ssh-ed25519 HMNWnw 14p8qhRCpr+uPlk4e0TdYI2TZCKiaEjbh2bz6dqhRkk +jrPOTSdGQlgQZ/VbOQVPMCrSU2o0/TBJwcSbzz/7DgU +--- sAYECrOx62PupGuHIGTcXPLcC64SmlWEXzWrqzeVJRg +o[87e, +}iG&eg6~$3Anל5$dr#Pnސ򅺨^p\ƇKar!zk'bRa'WMX \ No newline at end of file diff --git a/secrets/user-ssh-key.age b/secrets/user-ssh-key.age index c8060df..355cf10 100644 Binary files a/secrets/user-ssh-key.age and b/secrets/user-ssh-key.age differ diff --git a/secrets/work-mail.age b/secrets/work-mail.age index 7d39bfa..75f396f 100644 Binary files a/secrets/work-mail.age and b/secrets/work-mail.age differ diff --git a/users/leonardo.nix b/users/leonardo.nix index e480759..c858494 100644 --- a/users/leonardo.nix +++ b/users/leonardo.nix @@ -37,32 +37,8 @@ in completion.enable = true; promptInit = '' - vterm_printf() { - if [ -n "$TMUX" ] && ([ "''${TERM%%-*}" = "tmux" ] || [ "''${TERM%%-*}" = "screen" ]); then - # Tell tmux to pass the escape sequences through - printf "\ePtmux;\e\e]%s\007\e\\" "$1" - elif [ "''${TERM%%-*}" = "screen" ]; then - # GNU screen (screen, screen-256color, screen-256color-bce) - printf "\eP\e]%s\007\e\\" "$1" - else - printf "\e]%s\e\\" "$1" - fi - } - vterm_prompt_end(){ - vterm_printf "51;A$(whoami)@$(hostname):$(pwd)" - } - case "$TERM" in - "dumb") - PS1="> " - ;; - xterm*|rxvt*|eterm*|screen*) - PS1="\[\033[1;95m\][\h]\[\033[0m\] \[\033[0;32m\]\w\[\033[0m\] :: " - PS1=$PS1'\[$(vterm_prompt_end)\]' - ;; - *) - PS1="> " - ;; - esac + PS1="\[\033[1;95m\][\h]\[\033[0m\] \[\033[0;32m\]\w\[\033[0m\] :: " + [ -n "$EAT_SHELL_INTEGRATION_DIR" ] && source "$EAT_SHELL_INTEGRATION_DIR/bash" ''; }; fonts = { -- cgit v1.2.3