Skip to content

Add an easy way to jump to the lnk repo - #52

Open
scratchmex wants to merge 1 commit into
yarlson:mainfrom
scratchmex:issue-51--lnk-cd
Open

Add an easy way to jump to the lnk repo#52
scratchmex wants to merge 1 commit into
yarlson:mainfrom
scratchmex:issue-51--lnk-cd

Conversation

@scratchmex

@scratchmex scratchmex commented Jun 25, 2026

Copy link
Copy Markdown

This adds a lnk home to print the lnk repo path and documents a shell wrapper so lnk cd takes you there

$ go run ./ -h
...
Available Commands:
...
home        🏠 Print your lnk home path
...

$ go run ./ home -h
Print the lnk repository directory (LNK_HOME, XDG_CONFIG_HOME/lnk, or ~/.config/lnk).

Usage:
  lnk home [flags]

Flags:
  -h, --help   help for home

Global Flags:
      --colors string   when to use colors (auto, always, never) (default "auto")
      --emoji           enable emoji in output (default true)
      --no-emoji        disable emoji in output
  -q, --quiet           suppress all output (exit code only)

closes #51

This adds a `lnk home` to print the lnk repo path and documents a shell
wrapper so `lnk cd` takes you there

close yarlson#51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add lnk cd cmd

1 participant