Skip to content

Commit

Permalink
.zshrc.d: aliases-compdef: unbreak compalias()
Browse files Browse the repository at this point in the history
  • Loading branch information
intelfx committed Oct 13, 2024
1 parent 70ada21 commit 2f26122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .zshrc.d/aliases-compdef
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/hint/zsh

function compalias() {
local lhs=$1 rhs=$2
local lhs=$1 rhs=$2 cmd=$2
if (( ${+_comps[$cmd]} )); then
compdef $lhs=$rhs
fi
Expand Down

0 comments on commit 2f26122

Please sign in to comment.