Created
          October 22, 2018 09:10 
        
      - 
      
 - 
        
Save zionyx/f78df69c89c130329e52adac33d081b1 to your computer and use it in GitHub Desktop.  
    PowerShell profile without Docker commands
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Chocolatey profile | |
| $ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" | |
| if (Test-Path($ChocolateyProfile)) { | |
| Import-Module "$ChocolateyProfile" | |
| } | |
| #try { $null = gcm pshazz -ea stop; pshazz init } catch { } | |
| $env:PYTHONIOENCODING="utf-8" | |
| # TLS 1.2 support | |
| [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12 -bor | |
| [System.Net.SecurityProtocolType]::Tls11 -bor | |
| [System.Net.SecurityProtocolType]::Tls -bor | |
| [System.Net.SecurityProtocolType]::Ssl3 | |
| # Don't beep! | |
| Set-PSReadlineOption -BellStyle None | |
| # Tab - options choice | |
| Set-PSReadlineKeyHandler -Key tab -Function MenuComplete | |
| # Install-Module Get-ChildItemColor | |
| # Set dir, l, ll, and ls alias to use the new Get-ChildItemColor cmdlets | |
| Set-Alias ls Get-ChildItemColorFormatWide -Option AllScope | |
| Set-Alias l ls -Option AllScope | |
| Set-Alias ll Get-ChildItemColor -Option AllScope | |
| Set-Alias dir ll -Option AllScope | |
| try { | |
| Import-Module oh-my-posh | |
| Set-Theme raistlin | |
| $ThemeSettings.PromptSymbols.PromptIndicator = 'λ' | |
| #iex "$(thefuck --alias)" | |
| } catch { } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment