Environment
Fedora Workstation 39
Reproduction steps
- Install zpmod acording to the "Without Zi" section
- Add the two lines at the top of $ZDOTDIR/.zshrc according to the instructions
Expected behavior
zpmod operates normally according to README.md
Current behavior
Upon opening a new terminal session, the following message appears: "(eval):ZIModule_:1: can't write zwc file: /proc/self/fd/15.zwc"
Code snippet
module_path+=( "/home/konstantink/.zi/zmodules/zpmod/Src" )
zmodload zi/zpmod
# zsh plugin management functions
export ZPLUGINDIR="$ZDOTDIR/plugins"
getplugin () {
url=$1
reponame=$(echo "$url" | frawk -F/ '{print $NF}' | sed -e 's/.git$//')
git clone "$url" "$ZPLUGINDIR/$reponame"
}
loadplugin () {
for name in "$@"; do
zplugin="$ZPLUGINDIR/$name/$name.plugin.zsh"
[[ -f "$zplugin" ]] || echo "plugin $name not found..." && . "$zplugin" || echo "failed to load $name"
done
}
export FPATH="$ZDOTDIR/completions/eza/completions/zsh:$FPATH"
# Enable colors and change prompt:
#autoload -U colors && colors # Load colors
#PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
setopt autocd # Automatically cd into typed directory.
stty stop undef # Disable ctrl-s to freeze terminal.
setopt interactive_comments
# History in cache directory:
HISTSIZE=10000000
SAVEHIST=10000000
HISTFILE="$HOME/.local/share/zsh_history"
# Basic auto/tab complete:
autoload -U compinit bashcompinit
zstyle ':completion:*' menu select
zmodload zsh/complist
compinit
bashcompinit
_comp_options+=(globdots) # Include hidden files.
eval "$(register-python-argcomplete pipx)"
loadplugin zsh-autosuggestions H-S-MW zsh-editing-workbench zsh-fancy-completions zui zbrowse
. "$HOME/.cargo/env"
path_append () {
case ":${PATH}:" in
*:"$1":*)
;;
*)
PATH="${PATH:+$PATH}:$1"
esac
}
# include .local/bin
path_append "$HOME/.local/bin"
# include .bin
path_append "$HOME/.bin"
# include spicetify path
path_append "$HOME/.spicetify"
# include volta path
export VOLTA_HOME="$HOME/.volta"
path_append "$VOLTA_HOME/bin"
fastfetch
eval "$(navi widget zsh)"
eval "$(zoxide init zsh)"
eval "$(starship init zsh)"
loadplugin F-Sy-H
. "$HOME/.config/broot/launcher/bash/br"
Additional information
I don't use Zi
Self-service
Have you read the Contributing Guidelines?
Are you familiar with the Contributor Covenant Code of Conduct?
Contact Details
No response
Environment
Fedora Workstation 39
Reproduction steps
Expected behavior
zpmod operates normally according to README.md
Current behavior
Upon opening a new terminal session, the following message appears: "(eval):ZIModule_:1: can't write zwc file: /proc/self/fd/15.zwc"
Code snippet
Additional information
I don't use Zi
Self-service
Have you read the Contributing Guidelines?
Are you familiar with the Contributor Covenant Code of Conduct?
Contact Details
No response