Giter Club home page Giter Club logo

Comments (5)

ElmNumaeStNo37 avatar ElmNumaeStNo37 commented on May 25, 2024 1

Hi Thank you again for your assistance 👍 I finally manage to update it 🍻 the reason for the hold up is that there is a copy in /usr/local/bin aside from ~/ ... maybe i misunderstood your instruction at https://github.com/tshakalekholoane/bat#installation 😅 for after reinstalling with the latest version, the app would not run unless it is on /usr/local/bin

milla@DiggieIsBack:~$ bat --version
bat 0.12-0-g8daf723
Copyright (c) 2023 Tshaka Eric Lekholoane.
MIT Licence.

Again Thank you so much for helping me out and Sorry for the trouble. Wish you all the Best and More Power 🍻

from bat.

tshakalekholoane avatar tshakalekholoane commented on May 25, 2024 1

Oh. Yes, both copies would have to be updated in that case. Thank you for bringing it to my attention, @13thRavenPurple. I will update the instructions to recommend creating a symbolic instead. That way you won't have to update the copy in /usr/local/bin/as well when you want to upgrade.

from bat.

tshakalekholoane avatar tshakalekholoane commented on May 25, 2024

You're welcome @13thRavenPurple (:

I am not sure I understand your problem. Upgrading is just as simple as deleting the previous version and downloading the most recent. Unless you're building it from source but you're not doing that are you?

from bat.

ElmNumaeStNo37 avatar ElmNumaeStNo37 commented on May 25, 2024

I am not sure I understand your problem. Upgrading is just as simple as deleting the previous version and downloading the most recent.

I tried again but it still failed =(

milla@DiggieIsBack:~$ bat -v
bat 0.10.1-0-gc5871eb-dirty
Copyright (c) 2023 Tshaka Eric Lekholoane.
MIT Licence.

also i tried
bat reset && rm bat
as stated here #25
but it also failed =(

Unless you're building it from source but you're not doing that are you?

No. i used the chmod one.

Edit Note:
Rectified typo

from bat.

tshakalekholoane avatar tshakalekholoane commented on May 25, 2024

I can't think of why it isn't working. Since you're using a desktop environment, what happens when you delete it using your file explorer?

The reset command also requires elevated permissions so it's also possible that if you're running the above command as is, rm bat isn't being executed because the bat reset is failing. In which you could try to run them separately as follows and see if that is indeed the case.

sudo bat reset
rm bat # Possibly with sudo too if that doesn't work 🤷.

from bat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.