Skip to content

Commit

Permalink
✨ Add zmodload, zstat
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed May 21, 2024
1 parent a759407 commit 0cae364
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sources/zmodload.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# :fzf-tab:complete:(\\|)zmodload:argument-rest
case $group in
'module file')
zmodload -d $ctxt[hpre]$word
;;
esac
7 changes: 7 additions & 0 deletions sources/zstat.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# :fzf-tab:complete:(\\|*/|)zstat:set1-argument-rest
zmodload zsh/stat
case $group in
file)
zstat $realpath
;;
esac

0 comments on commit 0cae364

Please sign in to comment.