Skip to content

Commit

Permalink
Rename lfzf to yafl
Browse files Browse the repository at this point in the history
  • Loading branch information
gjhenrique committed Dec 16, 2022
1 parent 532261c commit a482f9c
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lfzf
yafl
4 changes: 2 additions & 2 deletions cmd/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"strings"

"github.com/gjhenrique/lfzf/apps"
"github.com/gjhenrique/lfzf/sh"
"github.com/gjhenrique/yafl/apps"
"github.com/gjhenrique/yafl/sh"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
// "fmt"
"strings"

"github.com/gjhenrique/lfzf/cache"
"github.com/gjhenrique/yafl/cache"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"runtime"
)

const APP_NAME = "lfzf"
const APP_NAME = "yafl"

func configFolder() string {
if runtime.GOOS == "windows" {
Expand Down
10 changes: 5 additions & 5 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import (
"os"
"strings"

"github.com/gjhenrique/lfzf/cache"
"github.com/gjhenrique/lfzf/mode"
"github.com/gjhenrique/lfzf/sh"
"github.com/gjhenrique/yafl/cache"
"github.com/gjhenrique/yafl/mode"
"github.com/gjhenrique/yafl/sh"
"github.com/spf13/cobra"
)

var rootCmd = &cobra.Command{
Use: "lfzf",
Use: "yafl",
Short: "Launcher using fzf with modes",
Run: runRoot,
}
Expand Down Expand Up @@ -75,5 +75,5 @@ func Execute() {
}

func init() {
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.config/lfzf/config.toml)")
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.config/yafl/config.toml)")
}
6 changes: 3 additions & 3 deletions cmd/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"strings"

"github.com/gjhenrique/lfzf/cache"
"github.com/gjhenrique/lfzf/mode"
"github.com/gjhenrique/lfzf/sh"
"github.com/gjhenrique/yafl/cache"
"github.com/gjhenrique/yafl/mode"
"github.com/gjhenrique/yafl/sh"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/gjhenrique/lfzf
module github.com/gjhenrique/yafl

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/gjhenrique/lfzf/cmd"
"github.com/gjhenrique/yafl/cmd"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions mode/mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"
"time"

"github.com/gjhenrique/lfzf/cache"
sh "github.com/gjhenrique/lfzf/sh"
"github.com/gjhenrique/yafl/cache"
sh "github.com/gjhenrique/yafl/sh"
toml "github.com/pelletier/go-toml/v2"
)

Expand Down

0 comments on commit a482f9c

Please sign in to comment.