Giter Site home page Giter Site logo

agnosterzak-ohmyzsh-theme's People

Contributors

goranjviv avatar nomike avatar pavulonx avatar subhojit777 avatar zakaziko99 avatar zzzimawake 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

agnosterzak-ohmyzsh-theme's Issues

How to define custom colors by color code in .zsh-theme file

Hi, I just want to change the color of foreground and background, but the changes are surrounding with basic colors like red, blue, green, yellow..., the screenshot of agnosterzak is awesome but when it displays on my terminal. it is not like the same as screenshot, so I want to add the custom colors to this theme with color code like #2D2D2D, so how to change this, thank you.

Here is my terminal: http://imgur.com/a/iKQle

Issue with parse

When I download file and put to .oh-my-zsh/custom/themes I got this error

$HOME/oh-my-zsh/custom/themes/agnosterzak.zsh-theme:9: parse error near `\n'

Is there any way to fix it?

Unused code, battery info doesn't display when charging. (agnosterzak.zsh-theme)

The function "battery_pct_remaining", will either echo the current battery percentage if the battery is discharging, or "External power" if it is charging, however it is only ever called for display on lines 135 and 174 after checking that the battery is discharging, therefore "External power" will never be displayed, and the current battery percentage is not displayed while charging. Not sure if this is intentional so I'm opening it up as an issue, but I have a fix ready to go if you want me to open a pull request.

Below is an example of the terminal while not charging, and charging, before I've applied the fix.

nocharging

And here is an example of the terminal while not charging, and charging after I've applied the fix.

charging

Default color scheme & font

Hi zakaziko,

Would you mind sharing your color scheme and font name ? The one shown on the screenshots looks nice but haven't been able to find it (tested almost all the fonts listed).

Is it the stock Solarized Dark with Menlo+Powerline ? Colors seem off.

Color not changing for the color

Hi there,

I can't get the colors to change with the current version of the theme... :(

  1. I have installed the powerline font
  2. Installed the latest Zsh on Ubuntu 16
  3. Installed the Git packages running git client 2.7.4

Could you please help me setup the change of the color when Git changes occur? Only the status is working...

screen shot 2016-06-24 at 1 32 03 pm

Two batteries problem

Hello
In my laptop I have two batteries.
in console values from both batteries are concatenated.
Example:
First has 99%
Second has 76%
In console I see 9976%.

weird unicode chars in console

I've installed Vim Powerline patched fonts and Monoid
but I'm getting weird symbols on my console, looking like this
seleccion_002

sure I'm doing something wrong, but i don't know what is it ...
i use Fedora 24 and my usual terminal is Terminator

problem on display

i have some problem on the display the arrow don t show herself. Someone can help me, i have install the fonts that was in the readme.
Screenshot from 2020-10-12 13-00-21

for some reason this is not working on my linux mint,

if [[ $(acpi 2&>/dev/null | grep -c '^Battery.*Discharging') -gt 0 ]] ; then
if [ $b -gt 40 ] ; then
prompt_segment green white
elif [ $b -gt 20 ] ; then
prompt_segment yellow white
else
prompt_segment red white
fi
echo -n "%{$fg_bold[white]%}$HEART$(battery_pct_remaining)%%%{$fg_no_bold[white]%}"

I worked around by forcing it to true but someone has to have a look.

I have acpi installed on machine, and that line is where it fails to enter through

battery_pct:2: bad math expression: illegal character: "

battery_pct:2: bad math expression: illegal character: "
prompt_battery:[:39: unknown condition: -gt
prompt_battery:[:41: unknown condition: -gt
battery_pct:2: bad math expression: illegal character: "

my solution:

function battery_pct() {
local smart_battery_status="$(ioreg -rc "AppleSmartBattery")"
typeset -F maxcapacity=$(echo $smart_battery_status | grep '^."MaxCapacity"\ =\ ' | sed -e 's/^."MaxCapacity"\ =\ //' | awk -F' ' '{print $1}')
typeset -F currentcapacity=$(echo $smart_battery_status | grep '^.*"CurrentCapacity"\ =\ ' | sed -e 's/^.*CurrentCapacity"\ =\ //' | awk -F' ' '{print $1}')
integer i=$(((currentcapacity/maxcapacity) * 100))
echo $i
}

Colors and font matching to those in the readme

Hi @zakaziko99 ,

Thank you for making this theme. This is my first time using oh-my-zsh and your theme caught my eye. I'm just having some trouble getting the font type and colors to match up to those in your screenshots. The coloring is off (and quite blinding), and I can't get the triangle to match up with the line. I installed the fonts suggested. Do you have any idea what the issue may be?

screen shot 2017-07-31 at 1 04 21 pm

Batterie percentage 1000%

hi i'm user of agnosterzak from long time. I made almost the same time to realize that acpi is needed to show battery life. I've just made a clean install of ubuntu 17.10 and battery life in agnosterzak shows 1000% or 990% actually. Will keep you informed if 100% = 10%

<tab> messes up the output of the input if there is multiple completion options

You can do the following to have the output messed up:

 ♥ 10000%  Don  2 Nov - 23:57  ~ 
 @nomike  cd ~
 ♥ 10000%  Don  2 Nov - 23:57  ~ 
 @nomike  cd /s

If you now press the -key this happens:

 ♥ 10000%  Don  2 Nov - 23:57  ~ 
 @nomike  cd /s           cd /s
sbin/  snap/  srv/   sys/ 

Screenshot:
image

Basic Info

  • OS: GNU/Linux
  • Distribution: Ubuntu 17.10 (artful)
  • Architecture: amd64
  • zsh-version: zsh 5.2 (x86_64-ubuntu-linux-gnu)

tab autocomplete bug

I change the themes from agnoster to agnosterzak,then I found that the "Tab"(auto complete function) sometimes will no align the position it should be,

No battery info on Arch

Everything went fine so far except the info on battery status.. I am on Arch and nothing displays beside date&time!
Thank you for your work!

Mat

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.