Merge branch 'master' of github.com:DeCarabas/Init-Files
This commit is contained in:
commit
6297c32165
1 changed files with 13 additions and 7 deletions
|
|
@ -45,18 +45,24 @@ function shorten-path([string] $path)
|
||||||
|
|
||||||
$global:SolarizedColors = $false
|
$global:SolarizedColors = $false
|
||||||
|
|
||||||
|
if ($Host.Name -eq "ConsoleHost")
|
||||||
|
{
|
||||||
|
Set-SolarizedColors -Dark
|
||||||
|
$global:SolarizedColors = $true
|
||||||
|
|
||||||
|
# Doing this screws up the colors in the window, and the only way to
|
||||||
|
# make it look remotely pretty is to do this.
|
||||||
|
#
|
||||||
|
cls
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function prompt
|
function prompt
|
||||||
{
|
{
|
||||||
$ok = $?
|
$ok = $?
|
||||||
|
|
||||||
if ($Host.Name -eq "ConsoleHost")
|
if ($Host.Name -eq "ConsoleHost")
|
||||||
{
|
{
|
||||||
if (!$global:SolarizedColors)
|
|
||||||
{
|
|
||||||
Set-SolarizedColors -Dark
|
|
||||||
$global:SolarizedColors = $true
|
|
||||||
}
|
|
||||||
|
|
||||||
# Our "theme", as it were. Note that we assume the use of the
|
# Our "theme", as it were. Note that we assume the use of the
|
||||||
# solarized colors.
|
# solarized colors.
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue