You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changing utility module's default behaviors by adding zstyle in .zshrc has no effect
Expected behavior
downloader alias enabled while safe-ops and no-autocorrect/no-globbing aliases disabled
Actual behavior
all aliases are set to default values
Steps to Reproduce
add a new user
edit .zshrc file. for troubleshooting, i only added bare minimum of my actual config
source /usr/share/zsh-antigen/antigen.zsh
zstyle ':prezto:*:*' color 'yes'
zstyle ':prezto:module:prompt' theme 'pure'
zstyle ':prezto:module:prompt' pwd-length 'short'
zstyle ':prezto:module:autosuggestions' color 'yes'
zstyle -s ':prezto:module:utility:download' helper 'aria2c'
zstyle ':prezto:module:utility' correct 'no'
zstyle ':prezto:module:utility' safe-ops no
zstyle ':prezto:load' pmodule \
'utility'\
'completion' \
'history-substring-search' \
'autosuggestions' \
'prompt' \
antigen use prezto
antigen apply
# test correction and globbing
alias sudo='sudo '
login sudo su - testuser
test if no auto-correction, no globbing aliases are disabled
% sudo rsync
sudo: noglob: command not found
% sudo mv
sudo: nocorrect: command not found
test if safe ops aliases are disabled % sudo \rm /tmp/testfile
test if downloader alias is set
% get
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
% which get
get: aliased to curl --continue-at - --location --progress-bar --remote-name --remote-time
Description
changing utility module's default behaviors by adding zstyle in .zshrc has no effect
Expected behavior
downloader alias enabled while safe-ops and no-autocorrect/no-globbing aliases disabled
Actual behavior
all aliases are set to default values
Steps to Reproduce
sudo su - testuser
test if no auto-correction, no globbing aliases are disabled
test if safe ops aliases are disabled
% sudo \rm /tmp/testfile
test if downloader alias is set
Versions
The text was updated successfully, but these errors were encountered: