GithubHelp home page GithubHelp logo

agnoster-zsh-theme's People

Contributors

agnoster avatar apodkutin avatar belak avatar cell avatar michaelaquilina 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  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

agnoster-zsh-theme's Issues

Color/alignment is off

screen shot 2017-10-02 at 11 54 35

[Ignore the censored directory name.] For some reason the colors and alignment of the tip of each color block is slightly off. It was fine before, but I did not realize when exactly this changed, so I am not sure what the cause is. I tried to change other settings (font, color), but could not get the colors/alignment to go back to normal. Currently I am using the solarized dark color theme in iTerm2 with the Input Mono Narrow font; previously I used Monaco, but changing it back does not fix it. Does anyone recognize these two issues (color and alignment)?

Thanks!

How can I show the last (1 or 2) path instead of full directory?

Instead of ~/User/Documents/folder1/folder2, I'd like to be able to just show /folder2 or maybe /folder1/folder2 so it doesn't take too much space. Is there a way for me to do this?

I'm looking at this section:

prompt_dir() {
  prompt_segment blue black '%~'
}

but I don't really understand what it means.

Font not rendered correctly

selection_001

I am running Debian Jessie with Gnome 3.
The terminal is oh-my-zsh.
I also have the powerline fonts and font awesome installed. Earlier when I used Arch and Gnome 3, it worked fine. But I am not finding any solution to the issue.

branch icon not display properly

hi, i exec the command below after Powerline-patched font is installed
echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699"
the result as:
2018-05-23 13-59-18
the \ue0a0 not works properly, and i don't know why

i'm using ubuntu18.04 with the original terminal

Force full hostname

Hi,
I'm using agnoster on many machnes and many users on that machines.
When logging and using su/sudo su i cannot deistingish different machines with same username pecause i loose the "SSH_CLIENT" on the su.

There is a way to force the hostname to be always displayed?

Arrows appear to be broken

I'm using iTerm 2 on OSX + Solarized Dark. I find that the arrows do not line up with the text bars and that some colours (e.g. Github arrows) are broken. See below:
screen shot 2018-02-13 at 4 07 38 pm

Show git tag

It would be nice to show the tag of the current commit if there is one.

Box Around Directory / Arrow?

Hello!
I am relatively sure this has been addressed already, however, I am unsure as to what I'm supposed to search for.
screenshot_2017-09-14_16-00-20
If you can see it, there is a small red / blue box around the directory / arrow, and I cannot seem to get rid of it. Any help on the matter would be appreciated.
Thank you kindly!

terminal display [?]

macOS v 10.13.3 ( High Sierra)
terminal v 2.8 (400)

I have changed theme to agnoster but when I see the terminal, it display the question mark in bracket [?]

zymr screen shot 2018-03-26 at 11 14 41 pm

what is wrong?

Consolidating themes

Hey @agnoster !

Do you see any chance of unifying the many "forks" into this one? Of course, these are no real forks, because your repo came a bit late. Anyway. Some of these themes have solved some of your as "future work" marked issues. So it may be a good thing to merge that work into one repo (or - in worst case - to let go in favour of another theme).
A while ago I made a list of powerline-inspired themes: agnoster-like-themes.

virtualenv support?

Is there a way to see if I'm working in a virtualenv when using Agnoster (Prezto & iTerm2 on OS X 10.11)?

Only show gear icon for applications tied to a terminal

I usually spawn applications from my terminal by wrapping the command in a nohup and &, for example nohup vlc blah.mp4 &. This still shows the gear icon even though the application is not running in the background nor is it tied to that specific terminal window. To change this behaviour I changed line 210 from [[ $(jobs -l | wc -l) -gt 0 ]] && symbols+="%{%F{cyan}%}⚙" to [[ $(jobs -l | sed '/nohup/d' | wc -l) -gt 0 ]] && symbols+="%{%F{cyan}%}⚙" so that commands started with nohup are not included in the check for background processes.

How to add new line?

Hello, I'm trying to edit the theme to add a new line after the directory listings..

More like:

~/github/agnoster-zsh-theme >  master >
my command here

I am trying to customize the theme. Can you help me out here?

Support for light backrounds

Hey, as much as I love your theme, I cannot use it since most of the time I'm in a light terminal, and the legibility with agnoster is really bad there.

The solution is actually really simple, and that is to pull colours from the terminal configuration.

By playing a little with the terminal configuration I got from something like this:

snimka obrazovky z 2015-10-04 11-36-50

To something like this:

snimka obrazovky z 2015-10-04 11-34-18

It's far from perfect, since the same colour options controls both the background of the user part, and the text. If I was to set the text how it should be, then it would look like this:

snimka obrazovky z 2015-10-04 11-40-18

Also, ignore the rendering artefacts, I think I messed something up.

Which variables are user-settable?

This theme uses several variables which sit around in the main shell namespace. Are some of these intended to be settable by the user to configure Agnoster? And at what points in the shell session lifecycle can they be modified?

I'm thinking in particular of:

  • $PRIMARY_FG
  • $CURRENT_BG
  • The $SEGMENT_SEPARATOR, $BRANCH, $GEAR, and other variables holding individual symbols
  • $prompt_opts, defined in prompt_agnoster_setup. It doesn't seem to be used anywhere else, and that's not a standard zsh parameter. Should that even be there?

It looks like their global visibility is mostly an implementation detail, and not an intentional public interface. When backporting the OMZ changes in #5, I local-ized many of them. I don't know if additional ones should be localized, or some of the ones I changed left exposed.

If we leave them exposed, we might want to group them by using a prefix, or collecting them in a single associative array.

Project has no license

This project has no license. If the author could please choose a license that would be great and allow people to continue the authors work since this repository has not had any activity for a long time.

Thanks.

Set iTerm to use Meslo Font

I did a ton a troubleshooting only to realize that iterm needs to be using the meslo font so maybe it'd help to mention in main readme that it may be required in mac ox? Thanks!

How to highlight shell commands

In the screenshot of your terminal, you seem to have highlighting for shell commands:
goal
I'd like to know how you achieved that. I currently am using iTerm2 + Solarized Dark and Meslo LG M Regular for Powerline font, and my terminal looks like this (close to what you have, but no command highlighting):
screen shot 2017-09-14 at 10 06 34
May I ask how I can have command-highlighting for things like "cd" and "touch" like yours?

hide-status = 1 doesn't work for agnoster theme

I use the following command :
git config --add oh-my-zsh.hide-status 1
and I check the config file:
[oh-my-zsh] hide-status = 1

but when I enter that git repo ,it still show the status.

unreadable text with cd [tab]

when doing cd with tab to show various options, the options are not readable due to the color scheme. see attached screenshot.
screen shot 2018-05-08 at 4 08 15 pm

Line height issue in PHPStorm

I'm running PHPStorm 2018.1, which has a built-in terminal, and am seeing this odd line-height that is reported on in other apps. It's obviously not a major bug (it's not a show-stopper by any means), but it does trigger my OCD alarms:
screen shot 2018-06-11 at 11 33 51 am
I've tried altering Preferences->Editor->Color Scheme->Console Font->Size and ...->Line Spacing, with no luck.
screen shot 2018-06-11 at 11 36 26 am
Any thoughts?

Multiple prompt messages are added indefinitely

Hi there,

I'm having an issue with the theme. It used to work perfectly fine until yesterday, but today I had this very weird display: every time I hit enter to perform a command, the login@hostname is displayed again and again in the prompt.

Also, the first time the login@hostname is displayed at the beginning, it looks like a standard prompt (see image here: https://bstn.fr/agnoster.png )

I haven't modified any file, and other themes seems to work just fine.

Any chance anyone knows what's going on?

Thanks

Not a git repository message

Everytime a new command is ready to be taken on a non-git repository, the following error keeps showing before the input entry : fatal: Not a git repository (or any of the parent directories): .git

Digging in the soure code, I started suspecting this piece of code being the troublemaker.

I am not enough at ease with POSIX commands to be absolutely certain but the command git status --porcelain --ignore-submodules does return an issue message (a nonzero-lengthy output) on my terminal so the test keeps being validated, whether a git repository is present or not.

It explains why I have the extra fields before the input in the no-git case whereas they're not supposed to be there.

image

I have been searching for friends in the same case as me through the web, but here I am...
Anyone could have a clue ? New git update making the quoted command obsolete ?

the "~" has no padding on left

I set this thems, it changed into this. Looks like "~" has no padding on the left. How to change it?
Thank you for help
qq20170819-225255

Problem with Powerline symbols

screenshot from 2017-01-19 20-23-24

Hello!

Please, look at the first line of the picture. It seems that all fonts works perfectly. So, why I can see big black circle in the "yellow" project folders?

Dark blue directory with black text - wrong colors

I followed all of the instructions (or so I thought) to get zsh installed, as well as oh-my-zsh and its agnoster theme. I also had to get the correct Solarized color themes and install them into terminal.app, as well as the Powerline fonts, including Meslo. Such a big process just to style up terminal to make it look pretty.

And yet, I must still be missing something.

screen shot 2018-04-11 at 1 51 14 pm

For whatever reason, the directory part of the prompt is showing as dark blue with black text. This is happening for both the Solarized Dark and Solarized Light color themes, which makes me think that it isn't in those color themes themselves. Regardless of whether or not it is, how can I fix this issue, as it's clearly not correct?

character formatting is changed

Hello everything worked fine but i released that something changed in my terminal i don't know it is about me or issue right now i am getting this characters, when i write
echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699"
image

How do I hide the “user@hostname” info

It is said to do the following:
Optionally set DEFAULT_USER to your regular username followed by prompt_context(){} in ~/.zshrc to hide the “user@hostname” info when you’re logged in as yourself on your local machine.

What does that look like?

Show count of changed files / un-staged files / un-pushed changes / upstream changes

With regards to git. When using powerline shell, you can see a count or indication for the following:

  • Number of untracked files
  • Number of tracked files that were changed
  • local HEAD is ahead of remote
  • remote HEAD is ahead of local.

It would be very nice to have these indications in this theme. Or is it a functionality of the git plug in?

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.