Skip to content

Commit

Permalink
better modules
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Dec 17, 2023
1 parent 77596ff commit 7f5e4c4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions pkgs/nu-git-manager-sugar/nu-git-manager-sugar/git/mod.nu
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use std log

use ../git/lib git [get-status]
module lib/
use lib git [get-status]

use ../completions.nu [
use completions [
GIT_QUERY_TABLES, GIT_STRATEGIES, git-query-tables, get-remotes, get-branches, get-strategies
]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use ../git/lib/prompt.nu [get-left-prompt]
use ../git/lib prompt [get-left-prompt]

const DEFAULT_PROMPT_INDICATORS = {
plain: "> ",
Expand Down
3 changes: 2 additions & 1 deletion pkgs/nu-git-manager-sugar/nu-git-manager-sugar/mod.nu
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module completions.nu
export module extra.nu
export module git
export module git/
export module github.nu

0 comments on commit 7f5e4c4

Please sign in to comment.