diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1504263 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +doom/.doom.d/custom.el diff --git a/config/.config/systemd/user/container-offlineimap.service b/config/.config/systemd/user/container-offlineimap.service deleted file mode 100644 index 4eecfde..0000000 --- a/config/.config/systemd/user/container-offlineimap.service +++ /dev/null @@ -1,36 +0,0 @@ -# container-offlineimap.service -# autogenerated by Podman 4.1.1 -# Tue Aug 16 12:45:40 CDT 2022 - -[Unit] -Description=Podman container-offlineimap.service -Documentation=man:podman-generate-systemd(1) -Wants=network-online.target -After=network-online.target -RequiresMountsFor=%t/containers - -[Service] -Environment=PODMAN_SYSTEMD_UNIT=%n -Restart=on-failure -TimeoutStopSec=70 -ExecStartPre=/bin/rm -f %t/%n.ctr-id -ExecStart=/usr/bin/podman run \ - --cidfile=%t/%n.ctr-id \ - --cgroups=no-conmon \ - --rm \ - --sdnotify=conmon \ - -d \ - --replace \ - -it \ - --name offlineimap \ - --network host \ - -v /var/home/jas/mail:/mail:Z \ - -v /var/home/jas/.offlineimap-metadata:/metadata:Z \ - -v /var/home/jas/.offlineimaprc:/.offlineimaprc:Z localhost/offlineimap -ExecStop=/usr/bin/podman stop --ignore --cidfile=%t/%n.ctr-id -ExecStopPost=/usr/bin/podman rm -f --ignore --cidfile=%t/%n.ctr-id -Type=notify -NotifyAccess=all - -[Install] -WantedBy=default.target diff --git a/config/.config/systemd/user/container-offlineimap.timer b/config/.config/systemd/user/container-offlineimap.timer deleted file mode 100644 index f30bb99..0000000 --- a/config/.config/systemd/user/container-offlineimap.timer +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Run container-offlineimap.service daily at 22:00:00 - -[Timer] -OnCalendar=*-*-* 22:00:00 -Persistent=true - -[Install] -WantedBy=timers.target diff --git a/zsh/.zshrc.d/aliases.zsh b/zsh/.zshrc.d/aliases.zsh index 4cb9d65..c46e272 100644 --- a/zsh/.zshrc.d/aliases.zsh +++ b/zsh/.zshrc.d/aliases.zsh @@ -66,7 +66,8 @@ fi # Prompt user before overwriting files alias cp='cp -i' alias mv='mv -i' -alias rm='rm -i' +alias rm='trash' +alias del='rm -i' # Display zsh functions with bat alias zfun='functions | bat -l zsh' diff --git a/zsh/.zshrc.d/bindings.zsh b/zsh/.zshrc.d/bindings.zsh index 74605bb..430009f 100644 --- a/zsh/.zshrc.d/bindings.zsh +++ b/zsh/.zshrc.d/bindings.zsh @@ -37,6 +37,14 @@ if test -x "${HOME}/bin/tman"; then bindkey '^[m' tman-widget fi +## keybinding for convenient ssh connections +if test -x "${HOME}/bin/gumssh"; then + gumssh-widget() { "${HOME}/bin/gumssh" } + zle -N gumssh-widget + + bindkey '^[s' gumssh-widget +fi + ## history substring search bindkey '^[[1;5A' history-substring-search-up bindkey '^[[1;5B' history-substring-search-down diff --git a/zsh/.zshrc.d/catppuccin-zsh-syntax-highlighting.zsh b/zsh/.zshrc.d/catppuccin_mocha-zsh-syntax-highlighting.zsh similarity index 94% rename from zsh/.zshrc.d/catppuccin-zsh-syntax-highlighting.zsh rename to zsh/.zshrc.d/catppuccin_mocha-zsh-syntax-highlighting.zsh index 8574f00..2217283 100644 --- a/zsh/.zshrc.d/catppuccin-zsh-syntax-highlighting.zsh +++ b/zsh/.zshrc.d/catppuccin_mocha-zsh-syntax-highlighting.zsh @@ -1,4 +1,4 @@ -# Catppuccin Theme (for zsh-syntax-highlighting) +# Catppuccin Mocha Theme (for zsh-syntax-highlighting) # # Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) @@ -58,9 +58,9 @@ ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#cdd6f4' ## No category relevant in spec ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#e64553' ZSH_HIGHLIGHT_STYLES[path]='fg=#cdd6f4,underline' -ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#f38ba8,underline' +ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#f38ba8' ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#cdd6f4,underline' -ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#f38ba8,underline' +ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#f38ba8' ZSH_HIGHLIGHT_STYLES[globbing]='fg=#cdd6f4' ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#cba6f7' #ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?'