more tidying
This commit is contained in:
parent
0a834188a4
commit
5a0f39248e
7 changed files with 320 additions and 95 deletions
56
nvim/init.vim
Normal file
56
nvim/init.vim
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
set nocompatible
|
||||||
|
set showmatch
|
||||||
|
set ignorecase
|
||||||
|
set hlsearch
|
||||||
|
set incsearch
|
||||||
|
"set expandtab
|
||||||
|
set tabstop=4
|
||||||
|
set softtabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
set number
|
||||||
|
syntax on
|
||||||
|
set clipboard=unnamedplus
|
||||||
|
set cursorline
|
||||||
|
set ttyfast
|
||||||
|
set noswapfile
|
||||||
|
"set wildmode=longest,list
|
||||||
|
set background=dark
|
||||||
|
set t_Co=256
|
||||||
|
set mouse=
|
||||||
|
set laststatus=2
|
||||||
|
set termguicolors
|
||||||
|
set noshowmode
|
||||||
|
|
||||||
|
call plug#begin()
|
||||||
|
Plug 'junegunn/vim-easy-align'
|
||||||
|
Plug 'sheerun/vim-polyglot'
|
||||||
|
Plug 'jiangmiao/auto-pairs'
|
||||||
|
Plug 'ap/vim-css-color'
|
||||||
|
Plug 'wakatime/vim-wakatime'
|
||||||
|
Plug 'psliwka/vim-smoothie'
|
||||||
|
Plug 'joshdick/onedark.vim'
|
||||||
|
Plug 'junegunn/rainbow_parentheses.vim'
|
||||||
|
Plug 'mhinz/vim-startify'
|
||||||
|
Plug 'vim-airline/vim-airline'
|
||||||
|
Plug 'nvim-tree/nvim-web-devicons'
|
||||||
|
Plug 'nvim-lua/plenary.nvim'
|
||||||
|
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||||
|
Plug 'nvim-telescope/telescope.nvim', { 'branch': '0.1.x' }
|
||||||
|
Plug 'nvim-telescope/telescope-file-browser.nvim'
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
colorscheme onedark
|
||||||
|
|
||||||
|
let mapleader = ";"
|
||||||
|
let g:startify_custom_header = 'startify#fortune#boxed(["Hello Thomas"])'
|
||||||
|
|
||||||
|
" Telescope
|
||||||
|
nnoremap <leader>ff <cmd>Telescope find_files<cr>
|
||||||
|
nnoremap <leader>bb <cmd>Telescope buffers<cr>
|
||||||
|
nnoremap <leader>tt <cmd>Telescope file_browser<cr>
|
||||||
|
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
|
||||||
|
nnoremap <leader>fh <cmd>Telescope help_tags<cr>
|
||||||
|
|
||||||
|
lua require'nvim-treesitter.configs'.setup{highlight={enable=true}}
|
14
vim-commands.txt
Normal file
14
vim-commands.txt
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
TMUX
|
||||||
|
C-b - : split horiz
|
||||||
|
C-b \ : split vert
|
||||||
|
|
||||||
|
tmux ls : view all sessions
|
||||||
|
|
||||||
|
TELESCOPE
|
||||||
|
C-v : open in vertical split
|
||||||
|
Leader-ff: find files
|
||||||
|
Leader-bb: view and select buffers
|
||||||
|
Leader-tt: view dir tree view
|
||||||
|
Leader-fg: live grep
|
||||||
|
|
||||||
|
|
|
@ -50,24 +50,43 @@
|
||||||
"key": "ctrl+right",
|
"key": "ctrl+right",
|
||||||
"command": "workbench.action.toggleAuxiliaryBar"
|
"command": "workbench.action.toggleAuxiliaryBar"
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// "key": "x x",
|
||||||
|
// "command": "extension.vim_ctrl+t",
|
||||||
|
// "when": "editorTextFocus && vim.active && vim.use<C-t> && !inDebugRepl"
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
"key": "tab",
|
"key": "ctrl+t",
|
||||||
"command": "selectNextSuggestion",
|
"command": "-extension.vim_ctrl+t",
|
||||||
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
|
"when": "editorTextFocus && vim.active && vim.use<C-t> && !inDebugRepl"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "down",
|
"key": "ctrl+x",
|
||||||
"command": "-selectNextSuggestion",
|
"command": "-extension.vim_ctrl+x",
|
||||||
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
|
"when": "editorTextFocus && vim.active && vim.use<C-x> && !inDebugRepl"
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "ctrl+tab",
|
|
||||||
"command": "selectPrevSuggestion",
|
|
||||||
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "up",
|
|
||||||
"command": "-selectPrevSuggestion",
|
|
||||||
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
|
|
||||||
}
|
}
|
||||||
|
// {
|
||||||
|
// "key": "tab",
|
||||||
|
// "command": "selectNextSuggestion",
|
||||||
|
// "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// "key": "down",
|
||||||
|
// "command": "-selectNextSuggestion",
|
||||||
|
// "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// "key": "ctrl+tab",
|
||||||
|
// "command": "selectPrevSuggestion",
|
||||||
|
// "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// "key": "up",
|
||||||
|
// "command": "-selectPrevSuggestion",
|
||||||
|
// "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// "key": "shift+g+c",
|
||||||
|
// "command": "editor.action.commentLine"
|
||||||
|
// }
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,52 +1,107 @@
|
||||||
{
|
{
|
||||||
"editor.fontFamily": "PragmataPro Mono Liga",
|
"[css]": {
|
||||||
"editor.fontLigatures": true,
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
"editor.fontSize": 16,
|
},
|
||||||
"editor.fontWeight": 400,
|
"[html]": {
|
||||||
"editor.formatOnPaste": false,
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
"editor.wordWrap": "on",
|
},
|
||||||
"editor.cursorBlinking": "smooth",
|
"[javascript]": {
|
||||||
"editor.smoothScrolling": true,
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
"editor.formatOnSave": true,
|
},
|
||||||
"editor.bracketPairColorization.enabled": true,
|
"[javascriptreact]": {
|
||||||
"terminal.integrated.fontFamily": "PragmataPro Mono Liga",
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
"terminal.integrated.fontSize": 15,
|
},
|
||||||
"terminal.integrated.tabs.enabled": true,
|
"[json]": {
|
||||||
"debug.console.fontFamily": "PragmataPro Mono Liga",
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
"debug.console.fontSize": 15,
|
|
||||||
"explorer.confirmDelete": false,
|
|
||||||
"workbench.list.smoothScrolling": true,
|
|
||||||
"workbench.startupEditor": "none",
|
|
||||||
"workbench.colorCustomizations": {
|
|
||||||
"scrollbar.shadow": "#ffffff00"
|
|
||||||
},
|
},
|
||||||
"diffEditor.codeLens": true,
|
|
||||||
"git.mergeEditor": false,
|
|
||||||
"npm.enableRunFromFolder": true,
|
|
||||||
"security.workspace.trust.untrustedFiles": "open",
|
|
||||||
"files.trimFinalNewlines": true,
|
|
||||||
"vim.statusBarColorControl": false,
|
|
||||||
"vim.leader": "/",
|
|
||||||
"vim.useSystemClipboard": true,
|
|
||||||
"vim.highlightedyank.enable": true,
|
|
||||||
"vim.highlightedyank.color": "#18e00040",
|
|
||||||
"meridian.ignoreDirs": ["_img", "_scripts", "_meta", "posts"],
|
|
||||||
"markdown-preview-github-styles.colorTheme": "light",
|
|
||||||
"markdown.experimental.editor.pasteLinks.enabled": true,
|
|
||||||
"markdown.experimental.updateLinksOnFileMove.enabled": "prompt",
|
|
||||||
"markdown.experimental.validate.fileLinks.enabled": "warning",
|
|
||||||
"markdown.experimental.validate.referenceLinks.enabled": "warning",
|
|
||||||
"liveServer.settings.donotShowInfoMsg": true,
|
|
||||||
"explorer.confirmDragAndDrop": false,
|
|
||||||
"[jsonc]": {
|
"[jsonc]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
|
"[markdown]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[python]": {
|
||||||
|
"editor.defaultFormatter": "ms-python.black-formatter",
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
},
|
||||||
|
"[scss]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[shellscript]": {
|
||||||
|
"editor.defaultFormatter": "shakram02.bash-beautify"
|
||||||
|
},
|
||||||
|
"[typescript]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[typescriptreact]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"debug.console.fontFamily": "Jetbrains Mono",
|
||||||
|
"debug.console.fontSize": 14,
|
||||||
|
"debug.onTaskErrors": "debugAnyway",
|
||||||
|
"diffEditor.codeLens": true,
|
||||||
|
"editor.bracketPairColorization.enabled": true,
|
||||||
|
"editor.cursorBlinking": "smooth",
|
||||||
|
"editor.fontFamily": "Jetbrains Mono Medium",
|
||||||
|
"editor.fontLigatures": true,
|
||||||
|
"editor.fontSize": 14,
|
||||||
|
// "editor.fontWeight": 700,
|
||||||
|
"editor.formatOnPaste": false,
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
// "editor.lineHeight": 1.3,
|
||||||
|
"editor.minimap.enabled": true,
|
||||||
|
"editor.smoothScrolling": true,
|
||||||
|
"editor.stickyScroll.enabled": true,
|
||||||
"editor.tokenColorCustomizations": {
|
"editor.tokenColorCustomizations": {
|
||||||
"textMateRules": [
|
"textMateRules": [
|
||||||
{
|
{
|
||||||
"scope": "comment",
|
"scope": "comment",
|
||||||
"settings": {
|
"settings": {
|
||||||
"fontStyle": ""
|
"fontStyle": "italic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// {
|
||||||
|
// "name": "Underline",
|
||||||
|
// "scope": [],
|
||||||
|
// "settings": {
|
||||||
|
// "fontStyle": "underline"
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
{
|
||||||
|
"name": "Italic",
|
||||||
|
"scope": [
|
||||||
|
"variable.parameter.ts",
|
||||||
|
"variable.parameter.js",
|
||||||
|
"storage.type.function",
|
||||||
|
"storage.type.class",
|
||||||
|
"markup.italic",
|
||||||
|
"markup.bold string",
|
||||||
|
"punctuation.definition.comment"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Bold",
|
||||||
|
"scope": [
|
||||||
|
"meta.definition.function",
|
||||||
|
"entity.name.type.class",
|
||||||
|
"entity.name.section.markdown",
|
||||||
|
"markdown.heading",
|
||||||
|
"markup.bold",
|
||||||
|
"markup.heading | markup.heading entity.name",
|
||||||
|
"markup.heading.markdown punctuation.definition.heading.markdown",
|
||||||
|
"markup.bold markup.italic",
|
||||||
|
"markup.italic markup.bold",
|
||||||
|
"markup.quote markup.bold",
|
||||||
|
"markup.bold markup.italic string",
|
||||||
|
"markup.italic markup.bold string",
|
||||||
|
"markup.quote markup.bold string",
|
||||||
|
"string.other.link.title.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "bold"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -54,49 +109,117 @@
|
||||||
"settings": {
|
"settings": {
|
||||||
"foreground": "#327f77"
|
"foreground": "#327f77"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": [
|
||||||
|
"keyword.control.shell",
|
||||||
|
"keyword.control.do.shell",
|
||||||
|
"keyword.control.then.shell",
|
||||||
|
"keyword.control.elif.shell"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "underline"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": ["entity.name.function.shell", "meta.shebang.shell"],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "bold"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": ["storage.type.function.shell"],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"[html]": {
|
"editor.wordWrap": "on",
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"explorer.confirmDelete": false,
|
||||||
},
|
// "markdown.styles": [
|
||||||
"editor.minimap.enabled": true,
|
// "https://tbishop.s3.eu-west-2.amazonaws.com/vscode-markdown-styles.css"
|
||||||
"[json]": {
|
// ],
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"explorer.confirmDragAndDrop": false,
|
||||||
},
|
"files.insertFinalNewline": true,
|
||||||
"[javascript]": {
|
"git.mergeEditor": false,
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
||||||
},
|
|
||||||
"[typescript]": {
|
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
||||||
},
|
|
||||||
"[javascriptreact]": {
|
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
||||||
},
|
|
||||||
"gitlens.currentLine.scrollable": false,
|
|
||||||
"gitlens.advanced.messages": {
|
"gitlens.advanced.messages": {
|
||||||
"suppressGitMissingWarning": true
|
"suppressGitMissingWarning": true
|
||||||
},
|
},
|
||||||
"npm.keybindingsChangedWarningShown": true,
|
"gitlens.currentLine.scrollable": false,
|
||||||
"debug.onTaskErrors": "debugAnyway",
|
|
||||||
"editor.stickyScroll.enabled": true,
|
|
||||||
"gitlens.views.branches.branches.layout": "list",
|
"gitlens.views.branches.branches.layout": "list",
|
||||||
"files.insertFinalNewline": true,
|
"markdown.preview.scrollEditorWithPreview": false,
|
||||||
"workbench.iconTheme": "bearded-icons",
|
"markdown.preview.scrollPreviewWithEditor": true,
|
||||||
"workbench.colorTheme": "Alien Blood ",
|
"markdown-preview-github-styles.colorTheme": "light",
|
||||||
"[shellscript]": {
|
"markdown.experimental.editor.pasteLinks.enabled": true,
|
||||||
"editor.defaultFormatter": "shakram02.bash-beautify"
|
"markdown.updateLinksOnFileMove.enabled": "prompt",
|
||||||
|
"markdown.validate.enabled": true,
|
||||||
|
"markdown.validate.fileLinks.enabled": "error",
|
||||||
|
"markdown.validate.fileLinks.markdownFragmentLinks": "error",
|
||||||
|
"npm.enableRunFromFolder": true,
|
||||||
|
"security.workspace.trust.untrustedFiles": "open",
|
||||||
|
"terminal.integrated.fontFamily": "Jetbrains Mono",
|
||||||
|
"terminal.integrated.fontSize": 14,
|
||||||
|
"terminal.integrated.tabs.enabled": true,
|
||||||
|
"vim.highlightedyank.enable": true,
|
||||||
|
"vim.leader": "/",
|
||||||
|
"vim.statusBarColorControl": false,
|
||||||
|
"vim.useSystemClipboard": true,
|
||||||
|
"workbench.colorCustomizations": {
|
||||||
|
"scrollbar.shadow": "#ffffff00"
|
||||||
|
// "terminal.background": "#0f1610"
|
||||||
},
|
},
|
||||||
"[css]": {
|
"workbench.iconTheme": "eq-material-theme-icons-deepforest",
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"workbench.list.smoothScrolling": true,
|
||||||
|
"workbench.startupEditor": "none",
|
||||||
|
"workbench.editor.enablePreview": false,
|
||||||
|
"terminal.integrated.allowChords": false,
|
||||||
|
"telemetry.telemetryLevel": "off",
|
||||||
|
"aws.telemetry": false,
|
||||||
|
"yaml.customTags": [
|
||||||
|
"ApplicationResourceGroup",
|
||||||
|
"ResourceGroupName",
|
||||||
|
"!GetAtt",
|
||||||
|
"!Sub",
|
||||||
|
"!And",
|
||||||
|
"!And sequence",
|
||||||
|
"!If",
|
||||||
|
"!If sequence",
|
||||||
|
"!Not",
|
||||||
|
"!Not sequence",
|
||||||
|
"!Equals",
|
||||||
|
"!Equals sequence",
|
||||||
|
"!Or",
|
||||||
|
"!Or sequence",
|
||||||
|
"!FindInMap",
|
||||||
|
"!FindInMap sequence",
|
||||||
|
"!Base64",
|
||||||
|
"!Join",
|
||||||
|
"!Join sequence",
|
||||||
|
"!Cidr",
|
||||||
|
"!Ref",
|
||||||
|
"!Sub sequence",
|
||||||
|
"!GetAZs",
|
||||||
|
"!ImportValue",
|
||||||
|
"!ImportValue sequence",
|
||||||
|
"!Select",
|
||||||
|
"!Select sequence",
|
||||||
|
"!Split",
|
||||||
|
"!Split sequence"
|
||||||
|
],
|
||||||
|
"files.exclude": {
|
||||||
|
"**/__pycache__": true
|
||||||
},
|
},
|
||||||
"[markdown]": {
|
"github.copilot.enable": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"*": true,
|
||||||
},
|
"plaintext": false,
|
||||||
"[typescriptreact]": {
|
"markdown": false,
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"scminput": false
|
||||||
},
|
|
||||||
"[scss]": {
|
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
||||||
},
|
},
|
||||||
|
"editor.fontVariations": true,
|
||||||
|
"totalTypeScript.hideAllTips": false,
|
||||||
|
"totalTypeScript.hideBasicTips": true,
|
||||||
|
"eslint.run": "onSave",
|
||||||
|
"totalTypeScript.hiddenTips": ["passing-generics-to-types", "typeof"],
|
||||||
|
"workbench.colorTheme": "Alien Blood "
|
||||||
}
|
}
|
||||||
|
|
23
zsh/zshrc
23
zsh/zshrc
|
@ -2,16 +2,16 @@ export ZSH="/home/thomas/.oh-my-zsh"
|
||||||
|
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
alias cat="bat"
|
alias cat="bat"
|
||||||
alias grep="rg"
|
alias grep="rg"
|
||||||
alias xhd="cd /run/media/thomas"
|
alias xhd="cd /run/media/thomas"
|
||||||
alias cs-update="/home/thomas/repos/computer_science/_scripts/auto_save.sh"
|
alias cs-update="/home/thomas/repos/eolas/_scripts/auto_save.sh"
|
||||||
alias cs-query="/home/thomas/repos/computer_science/_scripts/query.sh"
|
alias cs-query="/home/thomas/repos/eolas/_scripts/query.sh"
|
||||||
# Set properties based on OS
|
# Set properties based on OS
|
||||||
|
|
||||||
ZSH_THEME=spaceship
|
ZSH_THEME=spaceship
|
||||||
SPACESHIP_TIME_SHOW=false
|
SPACESHIP_TIME_SHOW=true
|
||||||
SPACESHIP_PROMPT_ASYNC=true
|
SPACESHIP_PROMPT_ASYNC=true
|
||||||
SPACESHIP_CHAR_SYMBOL="▶ "
|
SPACESHIP_CHAR_SYMBOL="▶ "
|
||||||
plugins=(git npm zsh-autosuggestions zsh-syntax-highlighting)
|
plugins=(git npm zsh-autosuggestions zsh-syntax-highlighting)
|
||||||
|
|
||||||
# Search against /home/thomas/repos/computer_science
|
# Search against /home/thomas/repos/computer_science
|
||||||
|
@ -27,3 +27,16 @@ source $ZSH/oh-my-zsh.sh
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init --path)"
|
||||||
|
|
||||||
|
prompt_end() {
|
||||||
|
if [[ -n $CURRENT_BG ]]; then
|
||||||
|
echo -n " %{%k%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR"
|
||||||
|
else
|
||||||
|
echo -n "%{%k%}"
|
||||||
|
fi
|
||||||
|
echo -n "\n%{%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR%{%f%}"
|
||||||
|
CURRENT_BG=''
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue