agnoster | Agnoster for Fish tropical_fish | Theme library
kandi X-RAY | agnoster Summary
kandi X-RAY | agnoster Summary
Fancy, colorful theme with support for Powerline fonts.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of agnoster
agnoster Key Features
agnoster Examples and Code Snippets
Community Discussions
Trending Discussions on agnoster
QUESTION
I'd like to use Oh My Z Shell agnoster
theme
https://github.com/ohmyzsh/ohmyzsh/wiki/Themes#agnoster
in .zshrc
ZSH_THEME="agnoster"
But after ohmuzsh installation , it look like some symbols are missing in default MacOS font for terminal. And agnoster
says nothing about requirement for any specific font.
ANSWER
Answered 2021-Apr-20 at 00:08I had the same problem. You need to download these fonts:
https://github.com/powerline/fonts
And then change your preference settings per the instructions at the bottom of the readme:
iTerm2 users need to set both the Regular font and the Non-ASCII Font in "iTerm > Preferences > Profiles > Text" to use a patched font (per this issue).
QUESTION
Why is that, and how do I get all my terminal commands back?
I can't run jupyter notebook
, although I was able to open Anaconda as an application and get into it that way.
Does it have something to do with my PATH? I don't know how to get my terminal commands back, please help. I'm loving iTerm2 and OhMyZsh.
This might help: ~/.zshrc :
...ANSWER
Answered 2020-Sep-06 at 04:51I was facing a similar issue. I was able to apply the workaround and later on, Jupyter notebook worked as expected.
Alternatively, you can check the path variables as well.
QUESTION
I'm trying to integrate zsh on my VSC setup but apparently arrows are not recognized by it.
My zsh theme is agnoster and I've already tried adding "terminal.integrated.fontFamily": "Meslo LG M DZ for Powerline"
with no success. Anyone experienced something like this and can give me a hand? Thanks.
ANSWER
Answered 2020-Dec-10 at 16:36Following this little guide solved the issue making-powerline-work-in-visual-studio-code-terminal.
(1) Install a patched version of your desired font directly from https://github.com/powerline/fonts. Apparently doing the "quick installation" (e.g. sudo apt-get install fonts-powerline
) does not work in this case. So you can install manually downloading the .ttf
file or running the install script ./install.sh
provided.
(2) Add this to User Settings where $FONT
is the font you want to use (e.g. Menlo for Powerline
)
QUESTION
I managed to get the Powerline fonts working on my Windows 10 pc to use in WSL, particularly in the VS Code terminal window so I can use the Agnoster oh-my-zsh terminal theme. I set it all up and everything works - cool.
BUT when I shutdown my pc and restart it, the font no longer works in VS Code. However, it does still work in the ubuntu window. See ↓
https://i.imgur.com/SCyDrFM.png -- Sorry, I don't have enough rep to post images :(
I noticed it is not installed in the settings > font window
But it is installed in the control panel fonts window.
Current workaround
I can get the font to work again if I reinstall the font, at which point Windows will prompt me that The font is already installed, do I want to reinstall?. Click yes.
At which point the font will appear in the fonts settings (Add fonts) window.
What is going wrong with the font installation? Reinstalling the font after every boot seems tedious... I suppose I can get a script to automate that on startup but I really want to get to the root cause.
EDIT
So I just found the fix - had to right click on the .ttf file and 🛡️Install for all users.
I don't know why installing it as the local user didn't work but hey ¯\_(ツ)_/¯
...ANSWER
Answered 2020-Sep-20 at 21:41I found the answer to my own question...
Have to right click on the .ttf file and 🛡️Install for all users.
It seems that if the font is not listed in the Settings > Personalization > Fonts window, VS Code will not find it. Installing for all users makes the font persist there after reboot.
QUESTION
I honestly don't remember what I last installed on my machine, I believe it was brewing gatsby-cli. Anyway, since yesterday morning my terminal has been giving me the following error when I open a new instance or reset the terminal (open a new tab, source ~/.zshrc, etc).
...ANSWER
Answered 2020-Nov-23 at 21:45Try removing the npx plugin from plugins=(...)
in .zshrc. I had the same problem and that solved it for me.
QUESTION
Edit: I ended up abandoning the default WSL Ubuntu console and moving to Windows Terminal by following the instructions here, and now everything is working.
I installed Oh-my-zsh on WSL 2 (Ubuntu 20.04 if it matters), and I get question marks instead of whatever should be in the prompt. It looks like this (theme is set to "agnoster"): Question marks
I looked it up and the most prevalent advice was to install powerline fonts, so I followed the instructions here: How to install Powerline fonts on WSL?. I indeed was able to set the font to a powerline font in the settings of the console, but the problem wasn't solved (I tried to restart my computer and it still didn't work).
I saw similar questions about iTerm but I couldn't extract from there relevant steps that I can take.
Any advice?
...ANSWER
Answered 2020-Sep-05 at 09:20Does this help? This is a tutorial by Microsoft on how to install power line fonts on the Command Prompt.
https://docs.microsoft.com/en-us/windows/terminal/tutorials/powerline-setup
QUESTION
I recently changed my shell to zsh.
After changing my sheel to zsh I tried to install ohmyzsh, it worked good. After that I deleted ohmyzsh after running the uninstall zsh command.
Now, whenever I open my terminal on my mac I get the following error -
/Users/shubh01/.zshrc:source:73: no such file or directory: /Users/shubh01/.oh-my-zsh/oh-my-zsh.sh
How do I remove this error message whenever I open my mac?
Below I have attached the file which I get after running the command open /Users/shubh01/.zshrc
on my mac.
ANSWER
Answered 2020-Aug-20 at 09:35When you uninstall ohmyzsh, the uninstall process can't guess and remove the now faulty line source $ZSH/oh-my-zsh.sh
.
So you can remove it or comment it out with #
in front.
QUESTION
Just switched to using zsh (Oh-My-Zsh) and can't get autocompletion to work. Whenever I open a new terminal (using iTerm as well as VSCode terminal), the following output is printed to the terminal:
...ANSWER
Answered 2020-Mar-05 at 23:38Somewhere you're sourcing the whole of the bash_completion project - don't. Bash completions don't work in zsh and even if they did, they are worse than the native zsh ones. bashcompinit
is only useful with individual, carefully selected and tested functions. But is still better avoided.
It isn't clear where it is being sourced. The syntax highlighting plugin is unlikely. oh-my-zsh shouldn't be doing it either but I'd try disabling it first. Also check other startup files like .zshenv
, .zlogin
, .zprofile
and system files such as /etc/zshenv
.
Also, regarding the .zshrc you quoted: there's no need to pass +X
to autoload
, that's pointless. The second assignment to the plugins array is replacing the value from the first assignment. Did you want +=
instead? And if you want $ for a a normal user in the prompt and # for root, you can do that directly with %(!.#.$)
QUESTION
I am getting the error:
theme_precmd:1: vcs_info: function definition file not found
This is for Unix (alpine) when installing and working with a theme on oh-my-zsh.
Not sure where to go, as searching the internet hasn’t helped thus far. Any thoughts would be great.
My .zshrc
is as follows:
ANSWER
Answered 2020-Feb-10 at 01:47Be sure to have the package 'zsh-vcs' installed.
apk add zsh-vcs
I had the same error, after some research I have found that you must look at the FPATH variable to check where the zsh function are located.
echo $FPATH
... :/usr/share/zsh/5.7.1/functions/VCS_Info: ...
and this folder didn't exist on my disk !
if you search on alpine packages website the folder, you can see that it exist in the package 'zsh-vcs'.
QUESTION
I've used Iterm2 with zsh everyday for the past 3 years, but I got a new computer and had to set it up again. The problem is that when I run ~/.zshrc
it works fine, but I have to do it on every new terminal window I open. Not a good experience.
I noticed that I don't have any bashrc
, bash_profile
, or profile
(dot)files on my new machine.
Here's the code in ~/.zshrc
:
ANSWER
Answered 2018-Jun-06 at 07:26On starting a new shell just run the command source ~/.zshrc
by configuring in the
Preferences -> Profiles -> Select Default Profile(default profile will be starred) -> General -> Command -> Select Login Shell -> Send text at start:
Enter the value source ~/.zshrc
.
You may add source ~/.zshrc; clear
in case you need to clear the screen contents after executing the command.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install agnoster
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page