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
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "newline": true, | |
| "segments": [ | |
| { | |
| "type": "dotnet", | |
| "style": "diamond", |
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
| Import-Module -Name Terminal-Icons | |
| Import-Module PSReadLine | |
| oh-my-posh init pwsh --config 'C:/Users/bugra/repos/oh-my-posh/themes/1_shell.omp.json' | Invoke-Expression | |
| fnm env --use-on-cd | Out-String | Invoke-Expression | |
| # Increase history | |
| $MaximumHistoryCount = 10000 | |
| # Produce UTF-8 by default |
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
| import * as chalk from "chalk"; | |
| import * as moment from "moment"; | |
| import { Chalk } from "chalk"; | |
| export const firstLetterUpperCase = (str: string): string => { | |
| const firstLetter = str.substring(0, 1).toUpperCase(); | |
| const remainingLetters = str.substring(1, str.length); | |
| return `${firstLetter}${remainingLetters}`; | |
| }; |
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
| # Install postgres 9.6 | |
| brew install [email protected] | |
| # Configure OpenSSL. Put below mentioned vars into your .bashrc | |
| export PATH="/usr/local/opt/openssl/bin:$PATH" | |
| # For compilers to find openssl you may need to set: | |
| export LDFLAGS="-L/usr/local/opt/openssl/lib" | |
| export CPPFLAGS="-I/usr/local/opt/openssl/include" | |
| # For pkg-config to find openssl you may need to set: | |
| export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig" |
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
| # Path to your oh-my-zsh installation. | |
| export ZSH=/Users/bugrauluyurt/.oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| ZSH_THEME="agnoster" | |
| # Uncomment the following line to use case-sensitive completion. |