mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
Added Poweline10k settings
This commit is contained in:
@@ -65,12 +65,6 @@
|
|||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
//
|
//
|
||||||
// Bracket Pair Colorizer Plugin
|
|
||||||
"bracket-pair-colorizer-2.forceUniqueOpeningColor": true,
|
|
||||||
"bracket-pair-colorizer-2.rulerPosition": "Full",
|
|
||||||
"bracket-pair-colorizer-2.showBracketsInRuler": true,
|
|
||||||
"bracket-pair-colorizer-2.highlightActiveScope": true,
|
|
||||||
//
|
|
||||||
// Code Spell Checker Plugin
|
// Code Spell Checker Plugin
|
||||||
"cSpell.diagnosticLevel": "Hint",
|
"cSpell.diagnosticLevel": "Hint",
|
||||||
"cSpell.allowCompoundWords": true,
|
"cSpell.allowCompoundWords": true,
|
||||||
@@ -118,7 +112,7 @@
|
|||||||
//
|
//
|
||||||
// Shell check plgin
|
// Shell check plgin
|
||||||
"shellcheck.run": "onSave",
|
"shellcheck.run": "onSave",
|
||||||
"shellcheck.exclude": [2181, 2039],
|
"shellcheck.exclude": ["2181", "2039"],
|
||||||
//
|
//
|
||||||
// ES Lint
|
// ES Lint
|
||||||
"eslint.alwaysShowStatus": true,
|
"eslint.alwaysShowStatus": true,
|
||||||
@@ -185,7 +179,7 @@
|
|||||||
"workbench.iconTheme": "material-icon-theme",
|
"workbench.iconTheme": "material-icon-theme",
|
||||||
"theme-by-language.themes": {
|
"theme-by-language.themes": {
|
||||||
"*": "Visual Studio Dark",
|
"*": "Visual Studio Dark",
|
||||||
"markdown": "Material Theme Darker High Contrast"
|
"markdown": "Community Material Theme Darker High Contrast"
|
||||||
},
|
},
|
||||||
"workbench.colorTheme": "Visual Studio Dark"
|
"workbench.colorTheme": "Visual Studio Dark"
|
||||||
//
|
//
|
||||||
|
|||||||
12
.zshrc
12
.zshrc
@@ -1,3 +1,10 @@
|
|||||||
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||||
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
|
fi
|
||||||
|
|
||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||||
|
|
||||||
@@ -10,7 +17,7 @@ export ZSH="/home/pratik/.oh-my-zsh"
|
|||||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||||
# ZSH_THEME="robbyrussell"
|
# ZSH_THEME="robbyrussell"
|
||||||
POWERLEVEL9K_MODE='awesome-fontconfig'
|
POWERLEVEL9K_MODE='awesome-fontconfig'
|
||||||
ZSH_THEME="powerlevel9k/powerlevel9k"
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||||
|
|
||||||
# Uncomment the following line to use case-sensitive completion.
|
# Uncomment the following line to use case-sensitive completion.
|
||||||
CASE_SENSITIVE="true"
|
CASE_SENSITIVE="true"
|
||||||
@@ -107,7 +114,6 @@ source $ZSH/oh-my-zsh.sh
|
|||||||
|
|
||||||
POWERLEVEL9K_SHORTEN_DIR_LENGTH=4
|
POWERLEVEL9K_SHORTEN_DIR_LENGTH=4
|
||||||
# POWERLEVEL9K_SHORTEN_STRATEGY="None"
|
# POWERLEVEL9K_SHORTEN_STRATEGY="None"
|
||||||
POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=0
|
|
||||||
POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S %a}"
|
POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S %a}"
|
||||||
POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=0
|
POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=0
|
||||||
POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=6
|
POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=6
|
||||||
@@ -146,3 +152,5 @@ if [[ -f ~/.neon_alias ]]; then
|
|||||||
source ~/.neon_alias
|
source ~/.neon_alias
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
|||||||
Reference in New Issue
Block a user