zsh post hook
This commit is contained in:
parent
2dd8b6d5a7
commit
bd1c90c4a3
@ -1,4 +1,7 @@
|
||||
# calculator
|
||||
|
||||
export ZCALC_HISTFILE="${HOME}/.zcalc_history"
|
||||
|
||||
autoload -U zcalc
|
||||
|
||||
function __calc {
|
||||
|
||||
@ -1,26 +1,12 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
readonly zfiles=(
|
||||
.zshenv
|
||||
.config/zsh/.zshrc
|
||||
.config/zsh/.zprofile
|
||||
.config/zsh/.zlogout
|
||||
.config/zsh/aliases
|
||||
.config/zsh/completion
|
||||
.config/zsh/history
|
||||
.config/zsh/options
|
||||
.config/zsh/other
|
||||
.config/zsh/plugin
|
||||
.config/zsh/calculator
|
||||
.config/zsh/prompt
|
||||
.config/zsh/mappings
|
||||
.config/zsh/sourcer
|
||||
.config/zsh/export
|
||||
.config/zsh/functions
|
||||
zfiles=(
|
||||
~/.zshenv
|
||||
)
|
||||
|
||||
zfiles+=($(find "${ZDOTDIR}/" -maxdepth 1 -type f -not -name '*.zwc'))
|
||||
|
||||
for zfile in "${zfiles[@]}"
|
||||
do
|
||||
zcompile "${HOME}/${zfile}"
|
||||
zcompile "${zfile}"
|
||||
done
|
||||
Loading…
x
Reference in New Issue
Block a user