Giter Site home page Giter Site logo

alwaysontop's People

Contributors

swirepe avatar tsang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alwaysontop's Issues

Doesn't work on Mac

I'm using a bash shell on mac (GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)), and when I try to source the .sh I get "Sorry, only bash and zsh are supported."

Should this be OS agnostic?

Error on Mac

I always get this after every command

bash: PROMPT_COMMAND: line 39: syntax error near unexpected token ;' bash: PROMPT_COMMAND: line 39:update_terminal_cwd; ; _gototop_bash'

GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)

Multiline prompts break alwaysontop

I usually have a newline in prompt so I get all the info I need but have a clean line. This doesn't work with alwaysontop. Here's a normal terminal for me:

/tmp/tmp  [yuval.g@myhostname ]
$ ls
bla
/tmp/tmp  [yuval.g@myhostname ]

The result is that alwaysontop leaves the command I previously wrote at the top. For example this is the prompt state after I hit enter on echo 123.

↑↑ ◎ /Users/yuval.g/Downloads  [yuval.g@2030008314 ]
$ echo 123
123

The workaround is to use a single-line prompt but that's a bit of a bummer.

YELLOW="\[\033[33m\]"
RESET='\033[0m'
PS1="$YELLOW\$(pwd)$RESET $ "

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.