Giter Site home page Giter Site logo

Better linux shell integration. about far2l HOT 7 OPEN

elfmz avatar elfmz commented on August 22, 2024
Better linux shell integration.

from far2l.

Comments (7)

lieff avatar lieff commented on August 22, 2024

As I can see cd command now works.
Use of $PS1 is not good idea. Usually user already know computer and user name, omitting them save some space for useful information like long file path.
Configure shell is good feature.

from far2l.

invy avatar invy commented on August 22, 2024
  • tested cd, it's working now, eventually it got fixed.
  • $PS1 it's a customization. For example I like to display current repository branch I'm in and without this information I've noticed, that I experience some discomfort. The best solution is to integrate whole shell configuration and let user decide how he wants to deal with prompt.

from far2l.

elfmz avatar elfmz commented on August 22, 2024

FAR has its own prompt customization, configured via Options/Command Line Settings

from far2l.

invy avatar invy commented on August 22, 2024

This customization is not that powerful the zsh or bash has and also it requires user to do this configuration twice: in the shell and in the far separately, which is not very convenient to say the least.

from far2l.

singalen avatar singalen commented on August 22, 2024

Items 1 and 3 already work in Far (.bashrc works), so they can be crossed out.

So the issue can probably be renamed to "Support $PS1"?

from far2l.

elfmz avatar elfmz commented on August 22, 2024

And about PS1: far have own prompt formatting option. Just may be its not so fancy as PS1..

from far2l.

singalen avatar singalen commented on August 22, 2024

Yep, I verified it before writing. I believe that it only makes sense on Windows, and is redundant on Linux/OSX.

Windows does have %PROMPT%, but its features are laughable.

The way I would approach the issue is - to REMOVE Far's option (or move it to registry/whatever), and use the system default. Some minority of Windows users will not like it, but as long as they have a tool to customize it, this should be OK.

But my original proposal was only about editing the issue title.

from far2l.

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.