Closed Sharlaan closed 5 years ago
I'm using PowerShell with the oh-my-posh plugin installed. The prompt theme is Agnoster, and my color theme is Argonaut
Thanks for the enswer, but i'm newbie with PS, i'm failing so far to reproduce your Theme setup....
I've followed instructions from Oh-my-posh repo to install it along posh-git, but produced the config file seems to apply only to the regular PS console, not FluentTerminal ... ... and it does pretty badly : https://i.imgur.com/QRxa4fv.png
Same for the color scheme, 0 instruction.
I admit i'm kinda lost between configurations for FluentTerminal, PS, ConEmu, (and .bashrc for aliases) Some directions on how to use existing themes, color schemes on the README would help, thanks.
Looks like you edited the wrong profile file. There are multiple, based on which terminal is used. The easiest way is to edit it directly in Fluent Terminal, e.g. with code $profile
(or any other editor instead of vscode).
The color theme is something you would setup in the settings of Fluent Terminal. In 'Settings -> Themes' you can import the .itermcolors file I have linked.
Aliases are depending on the shell you want to use. Since it looks like you want to use PowerShell you would need to add them to your profile ($profile) file as well. Here is some documentation on how to set up aliases for PowerShell.
Thanks for the link to PS aliases.
Importing the color scheme worked 👍
On other hand you were correct code $profile
returned nothing in VSCode ...
I were actually trying to use Bash and created a profile for it, but indeed FT did not seem to find any config file for Bash/CMDer. I'm surprised Bash is not included with other profiles, i thought it were widely used ?
For usage with PS profile, i followed instructions from the Oh-my-Posh repo with :
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Paradox
# Hide your username@domain when not in a virtual machine for the Agnoster, Fish, Honukai, Paradox and Sorin themes:
$DefaultUser = 'Sharlaan'
Set-Location "D:\Mes Projets"
Set-Alias edit $env:ProgramW6432\Notepad++\notepad++.exe
Clear-Host
but i think it is missing something to get those arrow-like scheme like in your screenshots ?
You need a special patched font which includes these icons. You can find a lot prepatched fonts here: https://nerdfonts.com/#downloads
Ok i downloaded and installed the Meslo....otf font file, then in FluentTerminal Settings > Terminal > Font Family, select Meslo LGM NF for Powerline
Hope it helps for other poeple.
Nice integration for windows, thanks !
Can you share this nice shell profile showed in screenshot in README ? please
Would also help users setting their own.