fix: set powerline env var

resolves #133
This commit is contained in:
Jan De Dobbeleer 2021-05-16 19:13:15 +02:00
parent 71983dfd78
commit 766dc1ac8b
No known key found for this signature in database
GPG key ID: F6CC273CE5BA9AEE
4 changed files with 4 additions and 0 deletions

View file

@ -1,4 +1,5 @@
export POSH_THEME=::CONFIG::
export POWERLINE_COMMAND="oh-my-posh"
TIMER_START="/tmp/${USER}.start.$$"

View file

@ -1,4 +1,5 @@
set -g posh_theme ::CONFIG::
set -g POWERLINE_COMMAND "oh-my-posh"
function fish_prompt
set -l omp_stack_count (count $dirstack)

View file

@ -1,6 +1,7 @@
# Powershell doesn't default to UTF8 just yet, so we're forcing it as there are too many problems
# that pop up when we don't
[console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding
$env:POWERLINE_COMMAND = "oh-my-posh"
$global:PoshSettings = New-Object -TypeName PSObject -Property @{
Theme = "";

View file

@ -1,4 +1,5 @@
export POSH_THEME=::CONFIG::
export POWERLINE_COMMAND="oh-my-posh"
function omp_preexec() {
omp_start_time=$(::OMP:: --millis)