オプションを有効にするには、次のものを使用できますsetopt
。
setopt extended_glob
オプションが現在有効になっていることをどのように確認できますか?
ベストアンサー1
では、有効なオプションの表示と有効になっていないオプションの表示をzsh
使用できます。setopt
unsetopt
$ setopt
autocd
histignorealldups
interactive
monitor
sharehistory
shinstdin
zle
$ unsetopt
noaliases
allexport
noalwayslastprompt
alwaystoend
noappendhistory
autocd
autocontinue
noautolist
noautomenu
autonamedirs
.....
でbash
使用できますshopt -p
。