mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
refactor!: initialization through templates
This commit is contained in:
parent
4f637c1e1b
commit
885dc081e1
9 changed files with 230 additions and 211 deletions
7
core/templates/init.zsh
Normal file
7
core/templates/init.zsh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
alias {{ alias }}='eval $(_PR_LAST_COMMAND="$(fc -ln -1)" _PR_ALIAS="`alias`" _PR_SHELL="zsh" "{{ binary_path }}")'
|
||||
|
||||
{%- if cnf %}
|
||||
command_not_found_handler() {
|
||||
eval $(_PR_LAST_COMMAND="$@" _PR_SHELL="zsh" _PR_ALIAS="`alias`" _PR_MODE="cnf" "{{ binary_path }}")
|
||||
}
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue