Update these mfs

This commit is contained in:
Jeffrey Serio 2022-12-14 23:01:13 -06:00
parent f81c5a6de9
commit f8ec4671b5
6 changed files with 14 additions and 49 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
doom/.doom.d/custom.el

View File

@ -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

View File

@ -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

View File

@ -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'

View File

@ -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

View File

@ -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=?'