Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 06:43
    abiriadev starred fish-shell/fish-shell
  • Dec 09 21:56

    ridiculousfish on master

    Fix a wgetopt crash and add a t… (compare)

  • Dec 09 21:09
    JonathanDUFOUR opened #9407
  • Dec 09 20:09
    jdupak opened #9406
  • Dec 09 16:30
    SimpleDevPerson starred fish-shell/fish-shell
  • Dec 09 01:59
    Ricki-BumbleDev starred fish-shell/fish-shell
  • Dec 09 00:23
    nps1ngh synchronize #9405
  • Dec 09 00:16
    nps1ngh opened #9405
  • Dec 09 00:07
  • Dec 08 22:24
    Wiredframe starred fish-shell/fish-shell
  • Dec 08 17:56
    thejasonfisher starred fish-shell/fish-shell
  • Dec 08 15:55
    duris starred fish-shell/fish-shell
  • Dec 08 13:59

    krobelus on master

    Run fish_indent on share/comple… completions/git: complete refs … (compare)

  • Dec 08 13:20
    faho closed #9404
  • Dec 08 13:20
    faho commented #9404
  • Dec 08 13:03
    Trid-collab commented #9404
  • Dec 08 13:02
    Trid-collab commented #9404
  • Dec 08 12:59
    Trid-collab commented #9404
  • Dec 08 12:40
    faho labeled #5559
  • Dec 08 12:40
    faho unlabeled #5559
Nikita
@nikitavoloboev
thanks
ok no that doesn't work
command la # overwritelafish builtin function
adding this, new shell
still old fish behavior
Fabian Boehm
@faho
Where do you add it?
Nikita
@nikitavoloboev
in my fish config
Fabian Boehm
@faho
What you want is, when you run la, to instead use command la.
here
Fabian Boehm
@faho
So instead of using the absolute path (~/.go/bin/la) you just use command la.
Fabian Boehm
@faho
No
Nikita
@nikitavoloboev
is my config that calls the file
oh I see
Fabian Boehm
@faho
When you type la into your commandline to run la, use command la instead.
Nikita
@nikitavoloboev
that worked, thank you
Nikita
@nikitavoloboev
go build ./cmd/cli -o ${go env GOPATH}/bin
can I do something like this inside my fish
reading up on shell execution inside fish
its tricky cause I don't know what to search for in fish doc
Id think its something like shell expansion
or something but there is no such section
Peter Ammon
@ridiculousfish
Expansion is documented here
go build ./cmd/cli -o (go env GOPATH)/bin
stat /Users/nikiv/src/la/cmd/cli: directory not found
malformed import path "-o": leading dash
no Go files in /Users/nikiv/go/bin
I wonder why its unhappy
go env GOPATH
/Users/nikiv/go
I thought I can append /bin like in above
or ok official doc is different
trying now
Peter Ammon
@ridiculousfish
You may have to put the output path before the argument. go build -o (go env GOPATH)/bin ./cmd/cli
Nikita
@nikitavoloboev
go build -o (go env GOPATH)/bin ./cmd/cli
stat /Users/nikiv/src/la/cmd/cli: directory not found
its getting wrong path
somehow
ahh nvm
go build - /Users/nikiv/go/bin ./cmd/cli
malformed import path "-": leading dash
no Go files in /Users/nikiv/go/bin
stat /Users/nikiv/src/la/cmd/cli: directory not found
thats a go question, going to debug
ShalokShalom
@ShalokShalom
How do you avoid having to input the credentials every time again in git services?
I use Codeberg, and it asks me on every commit.
psYchotic
@stefan:zwanenburg.info
[m]
That's not necessarily a fish question, but it depends: do you push/pull over ssh? If so, use ssh-agent. Otherwise have a look at git help credentials.
David Adam
@zanchey
ssh-add might help
ShalokShalom
@ShalokShalom
No ssh
psYchotic
@stefan:zwanenburg.info
[m]
Then git help credentials will probably be what you're looking for. You can use https://git-scm.com/docs/git-credential-store (yay for plaintext passwords), or maybe integrate with your desktop environment's keyring/keychain: https://wiki.archlinux.org/title/GNOME/Keyring#Git_integration or https://wiki.archlinux.org/title/KDE_Wallet#Using_the_KDE_Wallet_to_store_Git_credentials
Johannes Altmanninger
@krobelus
mind if I finish the mega-abbr? I think there's a useful subset of features we agree on
Fabian Boehm
@faho
@ridiculousfish (I don't mind but it's not my PR)
Peter Ammon
@ridiculous_fish:matrix.org
[m]
I’m nearly done. It’s crashing in getopt, got sidetracked chasing that down
ShalokShalom
@ShalokShalom
@stefan:zwanenburg.info thanks
Akawama
@akawama:matrix.org
[m]
Is there a more newbie friendly guide for fish shell scripting other than fish documentation? I found some guides for transitioning from other shell to fish but none for a total beginner who wants to start with fish scripting.
Peter Ammon
@ridiculousfish
@akawama:matrix.org I think the fish tutorial is the place to start. It's more guided than the reference documentation.