Automatically update Oh My Zsh, and other minor changes

This commit is contained in:
Zoé Cassiopée Gauthier 2023-07-21 16:20:27 -04:00
parent dfde5a76b9
commit 5b646567ce
4 changed files with 27 additions and 13 deletions

View File

@ -1,10 +1,10 @@
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker # vim:fileencoding=utf-8:ft=conf:foldmethod=marker
font_family IBM Plex Mono Semibold font_family IBM Plex Mono Demibold
italic_font IBM Plex Mono Semibold Italic italic_font IBM Plex Mono Demibold Italic
bold_font IBM Plex Mono Bold bold_font IBM Plex Mono Bold
font_size 14 font_size 13
copy_on_select clipboard copy_on_select clipboard

View File

@ -17,4 +17,5 @@ return {
}), }),
initial_cols = 140, initial_cols = 140,
initial_rows = 50, initial_rows = 50,
enable_wayland = false,
} }

4
zshenv
View File

@ -5,3 +5,7 @@ export LESS=RSM
if [ -f "$HOME/.cargo/env" ]; then if [ -f "$HOME/.cargo/env" ]; then
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
fi fi
if [ -f "/opt/zig" ]; then
export PATH=$PATH:/opt/zig
fi

29
zshrc
View File

@ -6,8 +6,7 @@ fi
fpath+=~/.zfunc fpath+=~/.zfunc
# If you come from bash you might have to change your $PATH. # If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH export PATH=$HOME/.local/bin:$HOME/.local/share/yabridge:$PATH
export PATH=$HOME/.local/bin:$PATH
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
@ -31,14 +30,13 @@ ZSH_THEME="witchhazelhypercolor"
# Case-sensitive completion must be off. _ and - will be interchangeable. # Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true" # HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks. # Uncomment one of the following lines to change the auto-update behavior
# DISABLE_AUTO_UPDATE="true" # zstyle ':omz:update' mode disabled # disable automatic updates
zstyle ':omz:update' mode auto # update automatically without asking
# Uncomment the following line to automatically update without prompting. # zstyle ':omz:update' mode reminder # just remind me to update when it's time
# DISABLE_UPDATE_PROMPT="true"
# Uncomment the following line to change how often to auto-update (in days). # Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13 # zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up. # Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true" # DISABLE_MAGIC_FUNCTIONS="true"
@ -53,6 +51,9 @@ ZSH_THEME="witchhazelhypercolor"
# ENABLE_CORRECTION="true" # ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion. # Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true" # COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files # Uncomment the following line if you want to disable marking untracked files
@ -123,8 +124,16 @@ source $ZSH/oh-my-zsh.sh
# alias zshconfig="mate ~/.zshrc" # alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh" # alias ohmyzsh="mate ~/.oh-my-zsh"
alias ssh="wezterm ssh" case $TERM in
alias icat="wezterm imgcat" xterm-kitty)
# alias ssh="kitty +kitten ssh"
alias icat="kitty icat --align=left"
;;
*)
alias ssh="wezterm ssh"
alias icat="wezterm imgcat"
;;
esac
alias isvg="rsvg-convert | icat" alias isvg="rsvg-convert | icat"
alias idot='dot -Tsvg -Gbgcolor="transparent" -Ecolor="#f8f8f2ff" -Efontcolor="#f8f8f2ff" -Efontname="IBM Plex Mono Semibold" -Ncolor="#f8f8f2ff" -Nfontcolor="#f8f8f2ff" -Nfontname="IBM Plex Mono Semibold" | isvg' alias idot='dot -Tsvg -Gbgcolor="transparent" -Ecolor="#f8f8f2ff" -Efontcolor="#f8f8f2ff" -Efontname="IBM Plex Mono Semibold" -Ncolor="#f8f8f2ff" -Nfontcolor="#f8f8f2ff" -Nfontname="IBM Plex Mono Semibold" | isvg'