Closed sabond9 closed 8 months ago
also, answering CofCat456, make sure you're using a recent fish version.
Hello
You must download your favorite nerd font for shows icon and set your nerd font in your terminal
You must install 'fzf' plugin with fisher like this fisher install PatrickF1/fzf.fish
and install fzf in your system, if your system is debian or ubuntu install with this codes git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
and run this script in your terminal ~/.fzf/install
or install this simple code sudo apt install fzf
and if your system is arch linux you can download with this code sudo pacman -S fzf
install
remove Developments from line 17 in fzf_change_directory.fish
you must read README.md in this repositorie
You have to install Nerd Font to activate the icons because the icons are parts of every single Nerd Font. If you want to use another font and still want to see the icons, then you will have to go to the iterm2 settings(Command+,), enter the Text
section, and hit some buttons like the image below.
In the case of me, I wanted to use Fira Font but wanted to see the icons. I just hit the button Use a different font for non-ASCII text
and put Hack Nerd Font, which is one of the nerd fonts available on the website provided and also what he used a long time ago.
PS I just found the Fira Nerd Font!
If you can successfully find the Nerd Font, you can disable all buttons and just put the font like the image provided above.
Of course, you will see different colours than his because he adjusts the background colour value so that the background can be a little darker. I found him doing this on a YouTube video that I cannot remember, but anyway.
https://github.com/craftzdog/dotfiles-public/assets/96553411/5c830ae3-443c-43eb-b044-8d4fe8d782f9
On the video that I recorded, it shows how to make the background colours darker. In the same way, you can manually adjust every single colour in the way that you want it to look and expert the adjusted colour presets so that you can share it with others. Additionally, you can also import it from others. The exported/imported file used to have the extension .itermcolors
and be written in XML.
Not only that, if you want your window to look exactly the same as his, then you may want to change the transparency
and blurriness
values inside of the window
section. On the video provided below, it shows how to adjust those values.
https://github.com/craftzdog/dotfiles-public/assets/96553411/084bc619-e811-4ab1-bfe7-18b63c157be9
I am not really sure about what you tried to say git bar
, but I will assume that you saw the first image on the main screen of this repository. What he uses to change his fish shell is Tide. I love it, too. You can install by typing fisher install IlanCosman/tide@v6
DO NOT FORGET TO RUN ANY FISHER
COMMANDS AFTER YOU OPEN THE FISH SHELL. And to configure that, you can simply run tide configure
.
I do not use fzf
thing at all. I am so sorry for not being helpful. These links below may help you.
Thank you for reading! 😄 I hope this helps you a lot in terms of understanding how to use fish shells and also how fonts work. If you have any questions, do not hesitate to ask me.
@cattynip Could you export your entire iTerm profile as a JSON rather than just the colours?
@zaaahir Of course we can! That is what profile
in iTerm is for. Profile basically saves all information for each section that you can see in the Profile
tab. In the image below, there are tabs like General
, Colours
, and Text
, right? All of the values of those sections are profile information. It includes simple information about colours, windows, and fonts to advanced information like sessions and notifications. So, if you change the profile and see the values there, you will be able to notice that the values for the current profile will change, but the values for the other profile won't.
And that also means iTerm should be able to provide us with the features of importing/exporting this session feature.
In the image above, you can see the popup menu on the button More Actions...
. It basically allows you to do a couple of actions for the selected profile. In this case, the profile cattynip
, which is my nickname, is the selected profile. As you can guess, you can click on the Save Profile as JSON...
to save all of the information of the selected profile but in a JSON file. Once you save your profile in JSON, you will be able to import that JSON file to add your profile, regardless of device!
Lastly, I want you to know that you have to set the added profile as Default Profile
so that the profile that you added can be the profile that iTerm will open with when you export, close and reopen the iTerm window. As you can see from the two images above, if you set the profile as Default Profile
, there will be a little star right there. Since I have just one profile and have set it as Default Profile
, the star is placed right there.
Thank you for reading this long text. I hope this can help you and you use this feature a lot, @zaaahir. Again, do not hesitate to ask me if you have any questions.
@cattynip I was asking for your specific iTerm config, since it looks quite nice.
Oh, mine?
Thank you!
Hi,
I setup terminal and shell with tools from your guide. I'm using mac os and Iterm2 and your dotfiles . But I didin't get the same result as you had on your videos:
For detalis please check the picture below